Well, this also works, but it takes way more work to setup.Urs wrote:I do a lot of tests that look like unit tests but plot out number of iterations and measured time for, say, 100000 samples. I do those for different settings (cutoff, resonance, input material) and different accuracy (use sqrte() for tanh or 1/sqrt(), use 3rd order polynoms or 7th order etc.). On top of that I do different initial estimates (last sample's Vs, linear prediction, Vs from linearly computed filter). For this you better use C++ templates.
Newton's Method for vectorial functions (4-pole filter)
- KVRAF
- 8484 posts since 12 Feb, 2006 from Helsinki, Finland
-
- KVRAF
- 2256 posts since 29 May, 2012
Resurrecting this thread to post a few links for those bad at math
http://math.etsu.edu/multicalc/prealpha ... ersion.pdf
https://math.dartmouth.edu/archive/m12f ... vative.pdf
http://www.cedar.buffalo.edu/~srihari/C ... essian.pdf
so that I'll know where to look if I ever need to find these articles again
http://math.etsu.edu/multicalc/prealpha ... ersion.pdf
https://math.dartmouth.edu/archive/m12f ... vative.pdf
http://www.cedar.buffalo.edu/~srihari/C ... essian.pdf
so that I'll know where to look if I ever need to find these articles again
~stratum~
