sized_matrix

Trait Dot

Source
pub trait Dot<TRhs = Self> {
    type Output;

    // Required method
    fn dot(self, rhs: TRhs) -> Self::Output;
}
Expand description

Binary operator for the dot product operation.

Required Associated Types§

Required Methods§

Source

fn dot(self, rhs: TRhs) -> Self::Output

Returns self · rhs.

Implementors§

Source§

impl<TLhs, TRhs: Copy, TOutput, const M: usize> Dot<Matrix<TRhs, M, 1>> for Vector<TLhs, M>
where TLhs: Mul<TRhs, Output = TOutput> + MulAdd<TRhs, TOutput, Output = TOutput> + Copy, TOutput: Zero,

Source§

type Output = TOutput