Trait LinearOp
peroxide::traits::math
pub trait LinearOp<T: Vector, S: Vector> { fn apply(&self, rhs: &T) -> S; }
Linear operation for Vector
fn apply(&self, rhs: &T) -> S
impl LinearOp<Vec<f64, Global>, f64> for Vec<f64>
fn apply(&self, rhs: &Vec<f64>) -> f64
impl LinearOp<Vec<f64, Global>, Vec<f64, Global>> for Matrix
TODO: Transpose Matrix as Linear operator for Vector
fn apply(&self, other: &Vec<f64>) -> Vec<f64>
impl LinearOp<Vec<f64, Global>, Vec<f64, Global>> for SPMatrix
fn apply(&self, rhs: &Vec<f64>) -> Vec<f64>