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

Matrix as Linear operator for Vector

source§

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

source§

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

TODO: Transpose Matrix as Linear operator for Vector