Skip to content

lazymatrix::MatrixWrite โ€‹

LazyMatrix for Rust ยท 0.8.1

Source

rust
pub trait MatrixWrite<F: Scalar>: MatrixShape

Writable dense matrix storage, including strided mutable views.

Each call replaces one entry in O(1) time. Implementations must not depend on the previous value. This capability does not require contiguous storage.

Methods โ€‹

set โ€‹

rust
fn set(&mut self, row: usize, column: usize, value: F)

Source

Replace the entry at (row, column).

Released under the MIT and Apache 2.0 licenses.