fromEntries
Builds a matrix from sparse entries, placing each value at its index.
API Reference
Signature
Parameters
Returns
A matrix with keys ascending; each row length is the largest index + 1 for
that key, with gaps filled by undefined (never "-").
Throws
MATRIX_INVALID_ENTRY— a malformed entry, or anindexthat is not a finite non-negative integer.
Agent Contract
Agent Notes
- Gaps become
undefined, not"-"—fromEntrieshas no period semantics. - It consumes
MatrixEntryInput(index); the inverse entries producesMatrixEntry(colIndex).