NLA-lib Explorer

Matrix-vector application with explicit read-only data

Library · Source module

Matrix-vector application with explicit read-only data

An operation reads an operator-data block and a vector, then writes their matrix-vector product. Both blocks are declared operands, so a linked dense or sparse implementation can access the data without hidden environment reads. An oracle model uses an empty data block and a matrix fixed by its operation model.

Main definitions

* NLAlib.Ops.StoredOperator.functions gives local matrix-vector block functions. * NLAlib.Ops.StoredOperator.denseMatrix decodes actual column-major words.

Declarations