Trait Dot

Source
pub trait Dot<Rhs> {
    type Output;

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

Matrix Multiplication

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

Required Associated Types§

Source

type Output

The result of the operation.

For two-dimensional arrays: a rectangular array.

Required Methods§

Source

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

Implementors§

Source§

impl<A, S, S2> Dot<ArrayBase<S2, Dim<[usize; 1]>>> for ArrayBase<S, Ix1>
where S: Data<Elem = A>, S2: Data<Elem = A>, A: LinalgScalar,

Source§

impl<A, S, S2> Dot<ArrayBase<S2, Dim<[usize; 1]>>> for ArrayBase<S, Ix2>
where S: Data<Elem = A>, S2: Data<Elem = A>, A: LinalgScalar,

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.

Source§

impl<A, S, S2> Dot<ArrayBase<S2, Dim<[usize; 2]>>> for ArrayBase<S, Ix1>
where S: Data<Elem = A>, S2: Data<Elem = A>, A: LinalgScalar,

Source§

impl<A, S, S2> Dot<ArrayBase<S2, Dim<[usize; 2]>>> for ArrayBase<S, Ix2>
where S: Data<Elem = A>, S2: Data<Elem = A>, A: LinalgScalar,

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy