Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: RK4 for a vectorial function

by vr (Curate)
on Nov 26, 2021 at 07:12 UTC ( #11139138=note: print w/replies, xml ) Need Help??


in reply to RK4 for a vectorial function

I definitely understand nothing about what this all is supposed to do. At 1st glance: are you sure about calling

&F0($t1,@c); ... &F0(($t2+$step/2),( @c + (&k1($t2)/2)));

? What (how many) arguments do you think F0 receives in each case?

Further, k2_1 calls k1. Just for sake of symmetry, I wonder if it should have been k1_1. Have you tested/debugged each subroutine/section, so they work as expected, instead of typing this huge and complex code to observe final results? And I suspect other monks' advice about code and PBP will follow.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-01-22 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (63 votes). Check out past polls.

    Notices?