pub trait LinearTransform: VectorTransform {
// Required methods
fn transform_transpose(&self, y: &[f32]) -> Vec<f32>;
fn set_is_orthonormal(&mut self);
fn have_bias(&self) -> bool;
fn is_orthonormal(&self) -> bool;
}Required Methods§
Sourcefn transform_transpose(&self, y: &[f32]) -> Vec<f32>
fn transform_transpose(&self, y: &[f32]) -> Vec<f32>
compute x = A^T * (x - b) is reverse transform if A has orthonormal lines
Sourcefn set_is_orthonormal(&mut self)
fn set_is_orthonormal(&mut self)
compute A^T * A to set the is_orthonormal flag
Sourcefn is_orthonormal(&self) -> bool
fn is_orthonormal(&self) -> bool
Getter for is_orthonormal