Chalkboard - v3.0.4
    Preparing search index...

    Function derivative

    • Returns an estimate of y'(t) (an estimate of the derivative series) from a solved solution using finite differences on the solution grid.

      Parameters

      • sol: { t: number[]; y: number[][] }

        Solution

      Returns number[][]

      const result = Chalkboard.diff.derivative({ t: [0, 1, 2], y: [[0], [1], [4]] }); // Estimates the derivative samples