Affiliation:
1. Davidson College, Davidson, NC
Abstract
For any typical multivariable expression
f
, point
a
in the domain of
f
, and positive integer maxorder, this method produces the numerical values of all partial derivatives at
a
up through order maxorder. By the technique known as automatic differentiation, theoretically exact results are obtained using numerical (as opposed to symbolic) manipulation. The key ideas are a hyperpyramid data structure and a generalized Leibniz's rule. Any expression in
n
variables corresponds to a hyperpyramid array, in
n
-dimensional space, containing the numerical values of all unique partial derivatives (not wasting space on different permutations of derivatives). The arrays for simple expressions are combined by hyperpyramid operators to form the arrays for more complicated expressions. These operators are facilitated by a generalized Leibniz's rule which, given a product of multivariable functions, produces any partial derivative by forming the minimum number of products (between two lower partials) together with a product of binomial coefficients. The algorithms are described in abstract pseudo-code. A section on implementation shows how these ideas can be converted into practical and efficient programs in a typical computing environment. For any specific problem, only the expression itself would require recoding.
Publisher
Association for Computing Machinery (ACM)
Subject
Applied Mathematics,Software
Reference17 articles.
1. CHRmT~A~SON B. Automatic hessians by reverse accumulation. IMA g Numer. Anal. To appear. CHRmT~A~SON B. Automatic hessians by reverse accumulation. IMA g Numer. Anal. To appear.
2. Indexing and merging in APL
Cited by
31 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献