Chalkboard - v3.0.4
    Preparing search index...

    Function toScalarSeries

    • Returns the first component of a solution of an ODE.

      Parameters

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

        The solution of the ODE.

      Returns number[]

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