lazymatrix::dense_for_each_entry
LazyMatrix for Rust · 0.12.0
rust
pub fn dense_for_each_entry<M, F>(
matrix: &M,
rows: std::ops::Range<usize>,
columns: std::ops::Range<usize>,
visitor: impl FnMut(usize, usize, F)
) -> Result<(), <M as MatrixErrorType>::Error> where M: MatrixRead<F> + MatrixErrorType + ?Sized, F: ScalarTraverse a rectangle of dense indexed storage in column order.
Entries include zeros and nonfinite values. No workspace is allocated; empty rectangles perform no reads or callbacks.
Panics
Panics for reversed or out-of-bounds ranges before reading entries.

