number_frombary — Compute a number from a matrix of digits.
n = number_frombary ( d ) n = number_frombary ( d , basis ) n = number_frombary ( d , basis , order )
a 1x1 matrix of floating point integers, the basis (default 2)
a matrix of floating point integers, the digits
a 1x1 matrix of strings, the order (default "littleendian")
a 1x1 matrix of doubles
Given a matrix of digits d(i), i=1,2,...,p, and a basis b, returns the "littleendian" number
n = d(p) + d(p-1)*b + d(p-2)*b^2 + ... + d(1)*b^(p-1)
If "bigendian" order is chosen, returns the number
n = d(1) + d(2)*b + d(3)*b^2 + ... + d(p)*b^(p-1)