Skip to content

lazymatrix::ElemDivAssign ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait ElemDivAssign<F: Scalar>

In-place elementwise division by a coefficient slice: self[i] /= coeffs[i].

Used to apply S⁻¹ (scaling). Callers guarantee coeffs[i] != 0; the normalized constructor floors zero scales to 1 so a constant column never triggers a division by zero.

Methods ​

elem_div_assign ​

rust
fn elem_div_assign(&mut self, coeffs: &[F])

Source

Released under the MIT and Apache 2.0 licenses.