AutoMovie API
    Preparing search index...

    Interface IAutoMoviePchipField64

    Componentwise Fritsch–Butland interpolation with exposed local power coefficients and station derivatives. Coordinates and component values use caller-defined consistent units; queries outside the station range extrapolate the first or last polynomial. Optional station or endpoint derivatives replace the corresponding slope seeds without normalization or unit conversion; those authored slopes can overshoot and do not retain the default shape-preserving rule.

    interface IAutoMoviePchipField64 {
        coefficients: number[][][];
        derivatives: number[][];
        x: readonly number[];
        y: readonly (readonly number[])[];
        at(value: number, derivative?: boolean | 0 | 1 | 2): number[];
    }
    Index
    coefficients: number[][][]

    Per-interval and per-component power coefficients [cubic, quadratic, derivative, value] relative to the interval start.

    derivatives: number[][]

    Station derivatives in component units per coordinate unit.

    x: readonly number[]

    Increasing coordinates in one caller-owned chart.

    y: readonly (readonly number[])[]

    Finite component rows in fixed corresponding order.

    • Evaluate every component or its first/second derivative, selecting the right interval at an interior knot. False/0 reads values, true/1 reads first derivatives, and 2 reads second derivatives, in component units per coordinate unit squared. Values outside the coordinate range extrapolate the nearest interval; the caller owns a narrower supported domain when needed. Nonfinite queries or generated results throw. Endpoint derivative queries keep the existing Horner arithmetic and may differ from an authored slope by rounding.

      Parameters

      • value: number
      • Optionalderivative: boolean | 0 | 1 | 2

      Returns number[]