AutoMovie API
    Preparing search index...

    Class AutoMoviePchip64

    A scalar piecewise cubic with Fritsch–Butland slope seeds, in arbitrary consistent coordinate and value units. Explicit derivatives replace those seeds; evaluation rejects extrapolation and chooses the right interval at an interior knot.

    Index
    • Store stable coordinates and resolve coefficients from values and derivatives per coordinate unit; callers must not mutate coordinates during this field's lifetime.

      Parameters

      • xs: readonly number[]
      • values: readonly number[]
      • derivatives: readonly number[] = ...

      Returns AutoMoviePchip64

    • Evaluate inside the closed coordinate range; derivative output has value units per coordinate unit. Nonfinite input, extrapolation and nonfinite results reject.

      Parameters

      • x: number
      • derivative: boolean = false

      Returns number

    • Apply scalar slope resolution to corresponding three-component nodes in each station row; finite matching rows with at least two increasing stations are caller premises.

      Parameters

      • xs: readonly number[]
      • rows: readonly (readonly (readonly number[])[])[]

      Returns [number, number, number][][]

    • Resolve slopes from one or more corresponding positive interval widths and finite secants; these are admitted premises owned by slopes() or the vector coefficient constructor. Output has one more entry than the interval arrays.

      Parameters

      • h: readonly number[]
      • m: readonly number[]

      Returns number[]

    • Resolve dy/dx at finite, strictly increasing matching stations; two points use their common secant. Equal or opposite-sign neighboring secants give a zero interior derivative.

      Parameters

      • xs: readonly number[]
      • values: readonly number[]

      Returns number[]