newRPL - build 1255 released! [updated to 1299]
|
08-01-2018, 02:47 AM
Post: #243
|
|||
|
|||
RE: newRPL - build 1089 released! [update:build 1089]
ROMs updated to 1092 now.
I added a ROOT command with a bisection root finder. Arguments are similar to NUMINT (a function, an interval and a tolerance), it returns a root, or it throws an error "No root found". The algorithm is a bisection with some improvements (heavily inspired on Namir's posts, thanks!!) that reduce the number of evaluation roughly by 30%. Next I'll implement Brent and compare them, if it is really faster I'll switch to Brent, otherwise I like simpler methods. I'm planning to introduce a new command CROOT using Muller, to be able to get complex roots as well. Since complex roots are not so commonly used, I think it's best to have a faster algorithm for real roots, then only if the user needs complex roots he can choose to use the slower algorithm. As usual, keep testing and report any issues. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)