dot

Macro dot 

Source
macro_rules! dot {
    ($a:expr, $b:expr) => { ... };
    ($a:expr, $b:expr, $($c:expr),+) => { ... };
}
Expand description

Dot product between compatible arrays.

It always allocates a new array for the result. Call as res = dot!(a, b, c) to multiply the matrices a, b,, and c. The product of arbitrary numbers of matrices is supported. For more than two arguments the product is evaluated from back to front.