Expand description
Implements methods to pre-process indices under certain conditions.
Functionsยง
- bit_
reverse_ permutation - Applies bit-reversed permutation to the input array Computes the Bit-Reversed order (BO) of an array.
- evaluate_
index - Converts index into an
i64that must be greater or equal than0and must fit into ani64. - evaluate_
index_ for_ vector - Evaluates whether the provided index is referencing an entry in a vector. Negative indices are allowed and reference entries form the end of the vector.
- evaluate_
indices - Converts index1 and index2 into
i64that must be greater than0and must fit into ani64. - evaluate_
indices_ for_ matrix - Evaluates whether the provided row and column are referencing an entry in a matrix. Negative indices are allowed and reference rows and columns form the end of the matrix.