[−][src]Trait sobol::SobolType
The main type parameter for the Sobol
iterator. This defines the concrete InternalType
to be used internally, as well as other properties necessary for sequence generation.
Associated Types
type IT: InternalType
[src]
The unsigned integer type used internally to compute sequence values.
Associated Constants
pub const MAX_RESOLUTION: usize
[src]
The maximum number of bits this type can support. By default, this is
number of bits in the underlying InternalType
, but it may be less
in some cases (e.g. floats are limited by the size of their significand).
Required methods
pub fn render(val: Self::IT) -> Self
[src]
Converts internal values to those expected by the user. This usually involves casting and, for float values, scaling to the range [0,1).
Implementations on Foreign Types
impl SobolType for f32
[src]
SobolType implementation for 32-bit floating-point values
impl SobolType for f64
[src]
SobolType implementation for 64-bit floating-point values
impl SobolType for u8
[src]
SobolType implementation for 8-bit unsigned values
impl SobolType for u16
[src]
SobolType implementation for 16-bit unsigned values
impl SobolType for u32
[src]
SobolType implementation for 32-bit unsigned values
impl SobolType for u64
[src]
SobolType implementation for 64-bit unsigned values
impl SobolType for u128
[src]
SobolType implementation for 128-bit unsigned values
impl SobolType for i8
[src]
SobolType implementation for 8-bit signed values
impl SobolType for i16
[src]
SobolType implementation for 16-bit signed values
impl SobolType for i32
[src]
SobolType implementation for 32-bit signed values
impl SobolType for i64
[src]
SobolType implementation for 64-bit signed values
impl SobolType for i128
[src]
SobolType implementation for 128-bit signed values