Stored matrix-vector leaves as routines
Library · Source module
Stored matrix-vector leaves as routines
A tree that applies a stored matrix to a vector is a routine [m, n] (data : read, x : read n) → (y : write m) separated by block: the output block is disjoint from the data and the vector, which may be views of one buffer. Every such routine implements the stored-operator contract of its data length, so a leaf is proved once, as a routine, and its operation contract follows.
Main definitions
* NLAlib.Ops.StoredOperator.matvecRoutine: the routine of a matrix-vector tree.
Main results
* NLAlib.Ops.StoredOperator.matvecRoutine_disj: the separation of its operands. * NLAlib.Ops.StoredOperator.matvecRoutine_implements: it implements the stored-operator contract.