NLA-lib Explorer

Functional contracts for matrix multiplication and QR

Library · Source module

Functional contracts for matrix multiplication and QR

The ordinary operations here apply routines to matrices of stored entries. The entry codec specifies their actual word buffers, including interleaved pairs. Numerical accuracy is a separate property of the routines: no algorithm or convergence theorem is built into a kernel. Every routine gives a joint realization of these functional contracts on the same codec.

Main results

* NLAlib.Ops.IsMatrixMul and NLAlib.Ops.IsMatrixQR specify functional matrix kernels. * NLAlib.Ops.matrixInterp jointly realizes both contracts for arbitrary routines. * NLAlib.Ops.matrixMulFn_fn and NLAlib.Ops.matrixQRFn_fn expose the actual packed outputs.

Declarations