@pond-ts/process API Reference
    Preparing search index...

    Interface RangeOutput

    A writable output buffer for a ranged recompute — [PND-PROCRANGE].

    The rows an op keeps unchanged are already here, copied as one block. The op fills [from, to) and nothing else.

    A missing cell is NaN in values ([PND-NANREP]), so the gaps in the kept prefix travel with the values in the same copy. (Before number columns marked gaps with NaN, packed storage held 0 at a missing cell and copying only the values turned every warm-up gap into a defined zero — 1,875 wrong cells on a 5-study pass.)

    interface RangeOutput {
        values: Float64Array;
        clear(i: number): void;
        set(i: number, v: number): void;
    }
    Index

    Properties

    Methods

    Properties

    values: Float64Array

    Length to. [0, from) already carries the previous output; every other cell starts missing (NaN). An op may write a run of cells here directly; a non-finite value written this way is a gap, the same as through RangeOutput.set.

    Methods

    • Marks a cell missing.

      Only needed to undo a RangeOutput.set made in the same pass. Cells in [from, to) start missing, so clearing one the op never set does nothing — which is why an empty clear passed the whole suite until a set-then-clear case was written (Layer 2, PR #573).

      Parameters

      • i: number

      Returns void

    • Writes a cell. A non-finite value (NaN, ±Infinity) marks the cell missing instead (same as RangeOutput.clear) — core's rule that a non-finite number in a number column means missing ([PND-NANREP]).

      Parameters

      • i: number
      • v: number

      Returns void