Post Reply 
(PC-12xx~14xx) qthsh Tanh-Sinh quadrature
03-10-2024, 11:54 AM
Post: #81
RE: (PC-12xx~14xx) qthsh Tanh-Sinh quadrature
Panic over - I misunderstood the code. Looking more closely I see that where the code says //use last fl and fr before the sign change it is actually using the values of fl and fr associated with the value of r after the sign change, reading down the table. So that's all correct now.

If none of this makes any sense to anyone, don't worry!

The algorithm to find the split point is really neat - it is surprisingly effective for something with so few function evaluations. I've enjoyed working through it.

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)