Chalkboard - v3.0.4
    Preparing search index...

    Function component

    • Returns a single component series from the solution of an ODE.

      Parameters

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

        The solution of the ODE.

      • index: number

        Component index.

      Returns number[]

      const result = Chalkboard.diff.component({ t: [0, 1], y: [[1, 2], [3, 4]] }, 1); // Returns [2, 4]