pub struct ContrastMatrix {
pub n_levels: usize,
pub n_columns: usize,
pub values: Arc<[f64]>,
}Expand description
Dense contrast matrix in column-major order.
Fields§
§n_levels: usizeNumber of levels (rows).
n_columns: usizeNumber of generated columns.
values: Arc<[f64]>Column-major entries.
Implementations§
Trait Implementations§
Source§impl Clone for ContrastMatrix
impl Clone for ContrastMatrix
Source§fn clone(&self) -> ContrastMatrix
fn clone(&self) -> ContrastMatrix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContrastMatrix
impl Debug for ContrastMatrix
Source§impl PartialEq for ContrastMatrix
impl PartialEq for ContrastMatrix
impl StructuralPartialEq for ContrastMatrix
Auto Trait Implementations§
impl Freeze for ContrastMatrix
impl RefUnwindSafe for ContrastMatrix
impl Send for ContrastMatrix
impl Sync for ContrastMatrix
impl Unpin for ContrastMatrix
impl UnsafeUnpin for ContrastMatrix
impl UnwindSafe for ContrastMatrix
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more