Digital binary code algorithm stream matrix vector