The documentation looks reasonable to me. You supply a "function" and a vector of initial values. The evaluation process calls the function you supplied with a time value and a reference to the vector you supplied. Your function should return a list of values corresponding to the values of the vector at the time passed into your function.
If this still doesn't make sense you could show us your function and we may be able to provide sample code.
In reply to Re: How to define equations for Math::RungeKutta?
by GrandFather
in thread How to define equations for Math::RungeKutta?
by hda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |