public class OrdinaryDifferentialEquationSystem extends Object
OrdinaryDifferentialEquationFunction
Constructor and Description |
---|
OrdinaryDifferentialEquationSystem(OrdinaryDifferentialEquationFunction function,
int... orders)
Initializes a system of ordinary differential equations from the provided information.
|
Modifier and Type | Method and Description |
---|---|
int |
getDimensionForOrder(int order)
Gets the number of variables of the given
order in the dependent variables. |
OrdinaryDifferentialEquationFunction |
getFunction()
Gets the multivariate, vector function representing the set of ordinary differential equations.
|
boolean |
getIsMixedOrder()
Gets a value indicating whether the highest order derivative for each dependent variable
appearing in the set of equations is not the same.
|
int |
getMaxOrder()
Gets the highest order derivative appearing in the set of differential equations
for all the dependent variables.
|
int[] |
getOrders()
Gets the order of the highest derivative for each of the dependent variables.
|
protected void |
setFunction(OrdinaryDifferentialEquationFunction value)
Sets the multivariate, vector function representing the set of ordinary differential equations.
|
protected void |
setIsMixedOrder(boolean value)
Sets a value indicating whether the highest order derivative for each dependent variable
appearing in the set of equations is not the same.
|
protected void |
setMaxOrder(int value)
Sets the highest order derivative appearing in the set of differential equations
for all the dependent variables.
|
protected void |
setOrders(int[] value)
Sets the order of the highest derivative for each of the dependent variables.
|
OrdinaryDifferentialEquationSystem |
toFirstOrderSystem()
Converts the system of ordinary differential equations to its equivalent first order system.
|
public OrdinaryDifferentialEquationSystem(OrdinaryDifferentialEquationFunction function, @Nonnull int... orders)
function
- The multivariate, vector function which produces the highest order derivative
for each of the dependent variables in the set of equations.orders
- The order of the highest derivative for each of the dependent variables.public final int[] getOrders()
protected final void setOrders(int[] value)
public final int getMaxOrder()
protected final void setMaxOrder(int value)
public final boolean getIsMixedOrder()
protected final void setIsMixedOrder(boolean value)
public final int getDimensionForOrder(int order)
order
in the dependent variables.order
- The order of dependent variables to analyze.public final OrdinaryDifferentialEquationFunction getFunction()
protected final void setFunction(OrdinaryDifferentialEquationFunction value)
@Nonnull public final OrdinaryDifferentialEquationSystem toFirstOrderSystem()