Trait ndarray::linalg::Dot[][src]

pub trait Dot<Rhs> {
    type Output;
    fn dot(&self, rhs: &Rhs) -> Self::Output;
}
Expand description

Matrix Multiplication

For two-dimensional arrays, the dot method computes the matrix multiplication.

Associated Types

The result of the operation.

For two-dimensional arrays: a rectangular array.

Required methods

Implementors

Perform the matrix multiplication of the rectangular array self and column vector rhs.

The array shapes must agree in the way that if self is M × N, then rhs is N.

Return a result array with shape M.

Panics if shapes are incompatible.