What Is the Complex Step Approximation? (2020)
1–4 of 4 posts
Re: What Is the Complex Step Approximation? (2020)
#2The main reason I always turn to finite differences is because the formula are so easy that I can get it right the first time without looking anything up. But the cancelation problems are very real, so I might have to look into this, because the formula isn't more complex.
Re: What Is the Complex Step Approximation? (2020)
#3The main reason I always turn to finite differences is because the formula are so easy that I can get it right the first time without looking anything up. But the cancelation problems are very real, so I might have to look into this, because the formula isn't more complex.
Actually, it is by definition more complex :~)
Re: What Is the Complex Step Approximation? (2020)
#4I use this at pidtuner.com to calculate Jacobians. But beware, nothing beats analytic derivatives. Depending on the languague and requirements needed to implement a given algorithm, it is typically far better to use Automatic Differentiation.