Trait InnerProduct
peroxide::traits::math
pub trait InnerProduct: Normed { fn dot(&self, rhs: &Self) -> Self::Scalar; }
Inner product Vector
fn dot(&self, rhs: &Self) -> Self::Scalar
impl InnerProduct for Vec<Dual>
fn dot(&self, _other: &Self) -> Self::Scalar
impl InnerProduct for Vec<f64>
fn dot(&self, rhs: &Self) -> f64
impl InnerProduct for Matrix
Frobenius inner product