This class corresponds to the IntegrationMethod protocol. More...
#import <RungeKutta2.h>
Public Member Functions | |
(id) | - initWithGeometry:Channel1:Channel2:DimensionX:DimensionY:ScaleStepsize: |
(bool) | - integrateForX:Y:Stepsize:Direction:StoringIn:Direction: [implementation] |
Performs a single integration step from initial x/y coords, whereas a stepsize and a direction (forward/backward) can be defined. | |
Static Public Member Functions | |
(RungeKutta2 *) | + createWithGeometry:Channel1:Channel2:DimensionX:DimensionY:ScaleStepsize: |
This class corresponds to the IntegrationMethod protocol.
It performs Runke Kutta integration of order two.
- (bool) integrateForX: | (float) | x | ||
Y: | (float) | y | ||
Stepsize: | (float) | stepSize | ||
Direction: | (int) | direction | ||
StoringIn: | (float *) | integratedPoint | ||
Direction: | (float *) | integratedVector | ||
[implementation] |
Performs a single integration step from initial x/y coords, whereas a stepsize and a direction (forward/backward) can be defined.
The result is the calculated point and a vector in zhis direction.
Reimplemented from Euler.