Extensions of the first and second complex-step derivative approximations

作者:

Highlights:

摘要

A general framework for the first and second complex-step derivative approximation to compute numerical derivatives is presented. For first derivatives the complex-step approach does not suffer roundoff errors as in standard numerical finite-difference approaches. Therefore, since an arbitrarily small step size can be chosen, the complex-step approach can achieve near analytical accuracy. However, for second derivatives straight implementation of the complex-step approach does suffer from roundoff errors. Therefore, an arbitrarily small step size cannot be chosen. In this paper the standard complex-step approach is expanded by using general complex-step sizes to provide a wider range of accuracy for both the first- and second-derivative approximations. Even higher accuracy formulations are obtained by repetitively applying Richardson extrapolations. The new extensions can allow the use of one step size to provide optimal accuracy for both derivative approximations.

论文关键词:Complex step,Jacobian,Hessian,Finite-difference

论文评审过程:Received 3 November 2006, Revised 2 July 2007, Available online 28 August 2007.

论文官网地址:https://doi.org/10.1016/j.cam.2007.07.026