public class ODE extends Object
Constructor and Description |
---|
ODE(RealScalarFunction F,
double[] initials,
double x0,
double x1)
Construct an ODE of order n together with its initial values.
|
Modifier and Type | Method and Description |
---|---|
RealScalarFunction |
F()
Get the differential, \(y^{(n)} = F\).
|
double |
x0()
Get the start point of the integrating interval [x0, x1].
|
double |
x1()
Get the end point of the integrating interval [x0, x1].
|
double |
y0(int order)
Get the initial value for the n-th order (derivative).
|
public ODE(RealScalarFunction F, double[] initials, double x0, double x1)
F
- y(n) = F(x, y, y', ..., y(n-1))initials
- y(x0), y'(x0), ...,
y(n-1)(x0)x0
- the start point of the integrating interval [x0,
x1]x1
- the end point of the integrating interval [x0,
x1]public RealScalarFunction F()
public double y0(int order)
order
- the differentiation orderpublic double x0()
public double x1()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.