NLA-lib Explorer

Interleaved complex matrix storage

Library · Source module

Interleaved complex matrix storage

The representation is the existing pair entry codec, with real and imaginary components in adjacent words and matrix columns stored consecutively. The predicates below abbreviate the ordinary packed block reads. They expose component reads and transport through frames and scoped allocation; no numerical operation or new encoding is introduced.

Main results

* NLAlib.HoldsMatrix: a finite complex matrix in a real-word block. * NLAlib.HoldsMatrix.get_re, NLAlib.HoldsMatrix.get_im: its actual words. * NLAlib.HoldsMatrix.of_eqOff: preservation under disjoint writes. * NLAlib.storedMatrix: the matrix read entrywise from a block (NLAlib.HoldsMatrix.eq_storedMatrix).

Declarations