41C/CV root finders
|
05-29-2015, 07:19 PM
Post: #43
|
|||
|
|||
RE: 41C/CV root finders
(05-29-2015 06:44 PM)Ángel Martin Wrote: I think they are correct and correctly implemented now after I fixed the bug - see previous post. - but you're welcome to improve the method any time ;-) I am using the TVM and TVM' formulas posted earlier in this thread (cf. post #11 and #13). The implementation uses two intermediate results a and b that appear both in the function and the derivative, so the slow functions like powers and logs are minimized. This way the iteration runs faster and uses less memory. Let's see if there is a similar way to optimize the implementation of the formulas you use. ;-) But, more important: (05-29-2015 06:44 PM)Ángel Martin Wrote: You may have missed my previous post, or perhaps our posts crossed paths... Yes, it took me about 20 minutes to compile all the data, so I started editing my post before I could read your update. #-) (05-29-2015 06:44 PM)Ángel Martin Wrote: ...it is down to 4 or 5 iterations now after I fixed the bug I found in the algorithm. Great – mission accomplished. Now the community waits for an updated TVM 1F. :-) Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)