M
mboyd02255
I have a numpy array consisting of 1s and zeros for representing binary numbers:
e.g.
array([ 1., 0., 1., 0.])
I wish the array to be in the form 1010, so it can be manipulated.
I do not want to use built in binary converters as I am trying to build my own.
e.g.
array([ 1., 0., 1., 0.])
I wish the array to be in the form 1010, so it can be manipulated.
I do not want to use built in binary converters as I am trying to build my own.