메소드 | 설명 | |
---|---|---|
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[] |