I'm trying to implement the Storner method in Python, this is a multi-step method, first we need to calculate the first few values, and then build the following values ​​from them. I coped with the first item (I used Runge-Kutta 4 orders), but the second one had a problem - I cannot understand how to program the compilation / calculation of a table of differences to calculate the next value of the function. I can count it hands and then stupidly enter into the program, but I want to do all the same for the general case. Here is a link to the method - http://sci.sernam.ru/book_dsm.php?id=280 I will be glad to any tips.

    0