AutoMovie API
    Preparing search index...

    Interface IAutoMovieClampedTailField64

    Componentwise interpolation preserving the first PCHIP interval and constructing a C2 clamped cubic on the remaining stations. Tail endpoint derivatives come from the same PCHIP seed; with fewer than four stations all seed intervals remain unchanged. Coordinates and values use consistent caller-owned units.

    interface IAutoMovieClampedTailField64 {
        coefficients: number[][][];
        x: readonly number[];
        at(value: number, derivative?: boolean): number[];
    }
    Index
    coefficients: number[][][]

    Per-interval descending cubic coefficients in the supplied ordinate units.

    x: readonly number[]

    Ordered coordinates including the first interval retained as derivative support.

    • Evaluate the value or derivative per coordinate unit; outside queries extrapolate the first or last polynomial and interior knots select the right interval.

      Parameters

      • value: number
      • Optionalderivative: boolean

      Returns number[]