Module constrained

Source
Expand description

Advanced: Module for index and matrix types with compile time checks, instead of bound checking at runtime.

Modules§

group_helpers
Group helpers with compile-time checks.
permutation
Permutations with compile-time checks.
sparse
Sparse matrices with compile-time checks.

Structs§

Array
Array of length equal to the value tied to 'n.
Idx
I value smaller than the size corresponding to the lifetime 'n.
IdxInclusive
I value smaller or equal to the size corresponding to the lifetime 'n.
MatMut
Mutable dense matrix view with dimensions equal to the values tied to ('nrows, 'ncols).
MatRef
Immutable dense matrix view with dimensions equal to the values tied to ('nrows, 'ncols).
MaybeIdx
I value smaller than the size corresponding to the lifetime 'n, or None.
Size
usize value tied to the lifetime 'n.