p3_matrix::bitrev

Trait BitReversableMatrix

Source
pub trait BitReversableMatrix<T: Send + Sync>: Matrix<T> {
    type BitRev: BitReversableMatrix<T>;

    // Required method
    fn bit_reverse_rows(self) -> Self::BitRev;
}
Expand description

A matrix whose row indices are possibly bit-reversed, enabling easily switching between orderings. Pretty much just either RowMajorMatrix or BitReversedMatrixView<RowMajorMatrix>.

Required Associated Types§

Required Methods§

Source

fn bit_reverse_rows(self) -> Self::BitRev

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§