| QuasiRandomNumberGeneratorBitArrayToInt Method |
Returns an int whose binary representation is given by a.
For example, if a = 1,1,1, this function will return 7.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected static int BitArrayToInt(
BitArray a
)
Protected Shared Function BitArrayToInt (
a As BitArray
) As Integer
protected:
static int BitArrayToInt(
BitArray^ a
)
static member BitArrayToInt :
a : BitArray -> int
Parameters
- a BitArray
- A bit array.
Return Value
Int32An integer whose binary representation is given by
a.
See Also