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

pub trait InnerProduct: Normed {
    fn dot(&self, rhs: &Self) -> Self::Scalar;
}
Expand description

Inner product Vector

Required methods

fn dot(&self, rhs: &Self) -> Self::Scalar[src]

Implementations on Foreign Types

impl InnerProduct for Vec<f64>[src]

fn dot(&self, rhs: &Self) -> f64[src]

Implementors

impl InnerProduct for Matrix[src]

Frobenius inner product

fn dot(&self, rhs: &Self) -> f64[src]