Class ODE1stOrderWith2ndDerivative


  • public class ODE1stOrderWith2ndDerivative
    extends ODE1stOrder
    Some ODE solvers require the second derivative for more accurate Taylor series approximation.
    • Constructor Detail

      • ODE1stOrderWith2ndDerivative

        public ODE1stOrderWith2ndDerivative​(RealVectorFunction dy,
                                            RealVectorFunction ddy,
                                            Vector y0,
                                            double x0,
                                            double x1)
        Constructs a first order ODE with initial values.
        Parameters:
        dy - y' = F(x,y)
        ddy - y'' = F(x,y)
        y0 - y0
        x0 - the start point of the integrating interval [x0, x1]
        x1 - the end point of the integrating interval [x0, x1]
      • ODE1stOrderWith2ndDerivative

        public ODE1stOrderWith2ndDerivative​(DerivativeFunction dy,
                                            DerivativeFunction ddy,
                                            Vector y0,
                                            double x0,
                                            double x1)
        Constructs a first order ODE with initial values.
        Parameters:
        dy - y' = F(x,y)
        ddy - y'' = F(x,y)
        y0 - y0
        x0 - the start point of the integrating interval [x0, x1]
        x1 - the end point of the integrating interval [x0, x1]