Skip to content

lazymatrix::DotProduct ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait DotProduct<F: Scalar>

Dot product of two backend vectors: Σ self[i] · other[i].

Panics ​

Panics if the vectors have different lengths.

Methods ​

dot ​

rust
fn dot(&self, other: &Self) -> F

Source

Released under the MIT and Apache 2.0 licenses.