normalize
Normalizes a matrix to a stable key set and fixed row length, padding with
fill.
API Reference
Signature
Parameters
Returns
A matrix with the requested keys (ascending) and rows of length, existing
values kept and tails padded with fill.
Throws
MATRIX_INVALID_NORMALIZE_OPTIONS— duplicatekeys, or alengththat is not a finite non-negative integer or is below the max existing row length.
Agent Contract
Agent Notes
normalizehas no period semantics and never invents"-"; passfill: "-"explicitly if you want it.keysselects the output set only; ordering is always ascending.