Trait peroxide::traits::math::LinearOp

source ·
pub trait LinearOp<T: Vector, S: Vector> {
    // Required method
    fn apply(&self, rhs: &T) -> S;
}
Expand description

Linear operation for Vector

Required Methods§

source

fn apply(&self, rhs: &T) -> S

Implementations on Foreign Types§

source§

impl LinearOp<Vec<f64>, f64> for Vec<f64>

source§

fn apply(&self, rhs: &Vec<f64>) -> f64

Implementors§

source§

impl LinearOp<Vec<f64>, Vec<f64>> for Matrix

TODO: Transpose Matrix as Linear operator for Vector

source§

impl LinearOp<Vec<f64>, Vec<f64>> for SPMatrix