RandomSourceDoSampleInt32WithNBits Method |
Returns a random N-bit signed integer greater than or equal to zero and less than 2^N.
N (bit count) is expected to be greater than zero and less than 32 (not verified).
Namespace: Altaxo.Calc.RandomAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxprotected virtual int DoSampleInt32WithNBits(
int bitCount
)
Parameters
- bitCount Int32
- The number of random bits to sample.
Return Value
Int32A random non-negative integer whose value is smaller than 2 raised to
bitCount.
See Also