Skip to content

lazymatrix::DotSlice ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait DotSlice<F: Scalar>

Dot product of self with a coefficient slice: Σ self[i] · coeffs[i].

Used to form the scalar cᵀw in the forward operator.

Methods ​

dot_slice ​

rust
fn dot_slice(&self, coeffs: &[F]) -> F

Source

Released under the MIT and Apache 2.0 licenses.