XP is just a number | |
PerlMonks |
Re: RK4 for a vectorial functionby etj (Deacon) |
on Dec 18, 2021 at 15:18 UTC ( [id://11139701]=note: print w/replies, xml ) | Need Help?? |
Sorry to have only just noticed this; I see you're using PDL::Complex, which is now officially deprecated. If you delete that line, then with a recent (2.047+) PDL "i" will return a "cdouble" (a "native complex" type) with the obvious value and all the type stuff will do the right thing.
In Section
Seekers of Perl Wisdom
|
|