Метод | Описание | |
---|---|---|
Solve ( float initial, float x, float h ) : float[] |
This method solves first-order ODEs. It is passed an array of dependent variables in "array" at x, and returns an array of new values at x + h.
|
Метод | Описание | |
---|---|---|
DoEulerStep ( float initial, float derivs, float h ) : float[] |
Processes a simple Euler step
|
|
OdeSolver ( int dimensions, CalculateDerivatives callback ) |
protected static DoEulerStep ( float initial, float derivs, float h ) : float[] | ||
initial | float | |
derivs | float | |
h | float | |
Результат | float[] |
protected OdeSolver ( int dimensions, CalculateDerivatives callback ) | ||
dimensions | int | |
callback | CalculateDerivatives |
public abstract Solve ( float initial, float x, float h ) : float[] | ||
initial | float | Array of initial values |
x | float | Initial value of x (usually time) |
h | float | Increment value for x (usually delta time) |
Результат | float[] |