[][src]Trait ndarray_linalg::inner::InnerProduct

pub trait InnerProduct {
    type Elem: Scalar;
    fn inner<S>(&self, rhs: &ArrayBase<S, Ix1>) -> Self::Elem
    where
        S: Data<Elem = Self::Elem>
; }
[]

Inner Product

Differenct from Dot trait, this take complex conjugate of self elements

Associated Types

type Elem: Scalar

Required methods

fn inner<S>(&self, rhs: &ArrayBase<S, Ix1>) -> Self::Elem where
    S: Data<Elem = Self::Elem>, 
[]

Inner product `(self.conjugate, rhs)

Implementations on Foreign Types

impl<A, S> InnerProduct for ArrayBase<S, Ix1> where
    A: Scalar,
    S: Data<Elem = A>, 
[src][]

type Elem = A

Implementors