Original matrix and coordinate inputs for queried products #
Main definitions #
QueriedProduct.entryWord: canonical signed words or original raw nonnegative words.QueriedProduct.input: four scalar headers, both row-major matrices and raw coordinates.
The raw-input program performs actual doubling before calling the signed producer. In particular, raw 0/1 entries become canonical signed 0/2 words. This input definition neither supplies encodings nor performs that target conversion on the caller's behalf.
Ordinary source words. In raw mode only nonnegative source values are represented; the native matrix-copy loop performs the subsequent signed-encoding conversion.
Instances For
Actual doubling converts every nonnegative raw entry into its canonical signed word. In particular, the raw unsigned zero/one producer convention becomes signed zero/two.
Both original matrices in their ordinary row-major input order.
Instances For
Actual initialized input, using exactly the existing router's raw coordinate convention.
Instances For
The matrix block contains exactly both original input arrays.
Every original scalar, matrix entry and coordinate lies within the snapshot prefix.
The complete initialized input retains the router's raw coordinate values; the matrices only shift their original address. No query code or tile is supplied in these words.
Both original row-major matrix blocks contain precisely their supplied entry words, before any copying, sign conversion or encoding takes place.
The original magnitude envelope covers both canonical signed and raw unsigned words. Raw-word fit does not itself assert nonnegativity of the represented source entries; that extra semantic premise is used by the actual conversion proof.
Every actual initialized word fits from original dimensions and entry magnitudes. No intermediate machine-state fit certificate is supplied.
Original raw matrix words are bounded by the original absolute-entry bound, at every flat position. This supplies the actual conversion loop without an intermediate fit premise.