Trait peroxide::traits::math::LinearOp[][src]

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

Linear operation for Vector

Required methods

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

Implementations on Foreign Types

impl LinearOp<Vec<f64, Global>, f64> for Vec<f64>[src]

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

Implementors

impl LinearOp<Vec<f64, Global>, Vec<f64, Global>> for Matrix[src]

TODO: Transpose Matrix as Linear operator for Vector

fn apply(&self, other: &Vec<f64>) -> Vec<f64>[src]

impl LinearOp<Vec<f64, Global>, Vec<f64, Global>> for SPMatrix[src]

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