pystencils.sympyextensions.random.RngBase#
- class pystencils.sympyextensions.random.RngBase(state)#
Abstract base class for counter-based random number generators.
- Parameters:
state (RngState)
- classmethod is_invocation(expr)#
Determine if the given expression is an RNG invocation
- classmethod get_invocation_state(expr)#
If
expris an RNG invocation, return its state; returnNoneotherwise.
- property dtype: PsIeeeFloatType#
Data type of the random numbers