Class BitGeneratorState
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
A snapshot of a bit generator's state — the typed stand-in for NumPy's bit_generator.state dict.
public abstract class BitGeneratorState
- Inheritance
-
BitGeneratorState
- Derived
- Inherited Members
Remarks
Each concrete generator has its own state class (PCG64.State, PCG64DXSM.State,
Philox.State, SFC64.State, MT19937.State) whose members are named
after NumPy's dict keys; the nested 'state' sub-dict is flattened into the
same object. Snapshots are plain mutable data: build one, edit one, or assign one back through
state.
Properties
bit_generator
NumPy's 'bit_generator' key: the name of the bit generator class this state belongs to.
public abstract string bit_generator { get; }