Mutable rational-matrix memory #
The input is pair rowUnary (pair columnUnary (pair replacement matrixWord)).
The replacement is already a canonical rational-entry code. The routine
updates the selected entry of the right-nested row-major matrix encoding and
preserves the original binary dimension word.
Extracts the unary row index from a rational matrix-update request.
Equations
Instances For
Extracts the matrix-update payload following its row index.
Equations
Instances For
Extracts the unary column index from a rational matrix-update request.
Equations
Instances For
Extracts the replacement-and-matrix payload following the requested indices.
Equations
Instances For
Extracts the replacement entry from a rational matrix-update request.
Equations
Instances For
Extracts the encoded matrix from a rational matrix-update request.
Equations
Instances For
Reads the encoded row list of the matrix being updated.
Equations
Instances For
Exact semantics #
Pairs a dimension word with an encoded nested list of rational rows.
Equations
- BeyondBethe.rationalRowsWord dimension rows = Complexity.pair dimension (BeyondBethe.binaryListCode (BeyondBethe.binaryListCode BeyondBethe.rationalEntryBinaryCode) rows)