timesfm-ts - v1.0.0
    Preparing search index...
    • Remove contiguous NaN values from the beginning of an array. O(n) — single pass to find first valid element.

      Parameters

      • arr: Float32Array

      Returns Float32Array

      A new Float32Array with leading NaNs removed, or an empty array if the input is all-NaN or empty.