THE IF-PROBLEM IN AUTOMATIC DIFFERENTIATION

被引:15
作者
BECK, T [1 ]
FISCHER, H [1 ]
机构
[1] TECH UNIV MUNICH,INST ANGEW MATH & STAT,D-80333 MUNICH,GERMANY
关键词
AUTOMATIC DIFFERENTIATION; PIECEWISE DEFINED FUNCTION;
D O I
10.1016/0377-0427(94)90294-1
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We deal with a severe problem that arises in the automatic differentiation of functions. Many computer programs defining a function employ statements of the form if B(x) then S1 else S2, where B(x) is a Boolean expression and S1 and S2 denote subprograms. This often leads to a piecewise definition of the function under consideration. Automatic differentiation of the pieces may be hazardous, for instance in cases where the underlying function is differentiable but one or the other piece is not. In such cases available software often fails to produce correct results. To resolve this perplexity, we distinguish between a function and its representations. In particular, we introduce the notion derivative-consistent. Automatic differentiation applied to a derivative-consistent representation of a function yields correct results.
引用
收藏
页码:119 / 131
页数:13
相关论文
共 8 条
[1]  
BECK T, 1991, THESIS TU MUNCHEN
[2]   AUTOMATIC DIFFERENTIATION OF THE VECTOR THAT SOLVES A PARAMETRIC LINEAR-SYSTEM [J].
FISCHER, H .
JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 1991, 35 (1-3) :169-184
[3]   AUTOMATIC DIFFERENTIATION OF CHARACTERIZING SEQUENCES [J].
FISCHER, H .
JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 1989, 28 :181-185
[4]  
FISCHER H, 1991, AUTOMATIC DIFFERENTI, P43
[5]  
JUEDES D, 1991, AUTOMATIC DIFFERENTI, P315
[6]  
McCormick G.P, 1983, NONLINEAR PROGRAMMIN
[7]   DIFFERENTIATION IN PASCAL-SC - TYPE GRADIENT [J].
RALL, LB .
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1984, 10 (02) :161-184
[8]  
RALL LB, 1981, LECTURE NOTES COMPUT, V120