end is the final value of independent variable.
min_step is the minimum value of the step made by quality controlled Runge_Kutta rk4_stepper.
good_steps is the number of successful steps in Runge_Kutta method.
bad_steps is the number of unsuccessful steps in Runge_Kutta method. Each time unsuccessful step is made a new attempts is made with the smaller step size.
data is the pointer to the data object. It is a private variable.
data_capacity is the dimension of array for temporary storage of found solution.
data_min_step is the value of minimum increment of independent variable in data object where solution is stored for retrieval.
speed_guard is the value of dx/dt for which the solution process should terminate. Really it should be in a subclass since it is specific to Golf application.
data:argument saves the solution of the system in the data object named argument.
data_capacity=argument sets the value of the data_capacity instance variable.
data_capacity? returns the value of the data_capacity instance variable.
data_min_step=argument sets the value of the instance variable data_min_step.
data_min_step? returns the value of the instance variable data_min_step.
end=argument sets the value of the instance variable end.
end? returns the value of the instance variable end.
good_steps? returns the values of the instance variable good_steps.
min_step=argument sets the value of the instance variable min_step.
min_step? returns the value of the instance variable min_step.
solve! solves the system of differential equations specified by the function instance variable for the independent variable in the interval (start, end).
speed_guard=argument sets the value of the instance variable speed_guard.
speed_guard? returns the value of the instance variable speed_guard.
start=argument sets the value of the instance variable start.
start? returns the value of the instance variable start.
system_function new: my_function;
rkqc_solver new: asolver function= my_function start= 0 end= 5 min_step = .1 eps = 0.001 data_capacity= 300 speed_guard= .2 ;
asolver solve! data: adata;