Skip to content

lazymatrix::MatrixRead ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait MatrixRead<F: Scalar>: MatrixShape

Read-only indexed access to dense, in-memory matrix storage.

Reading an entry takes O(1) time and performs no decoding or I/O. Storage may be strided; this capability neither requires nor implies contiguity.

Methods ​

get ​

rust
fn get(&self, row: usize, column: usize) -> F

Source

Read the entry at (row, column).

Implementation of MatrixRead ​

Source

rust
impl<F: Scalar> MatrixRead<F> for lazymatrix::DenseBlock<'_, F>

Released under the MIT and Apache 2.0 licenses.