Algorithmic Differentiation in Python with Application Examples
Algorithmic Differentiation in Python with Application Examples
Algorithmic Differentiation in Python with Application Examples
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Algorithms for Univariate Taylor Polynomials over Scalars (UTPS)<br />
b<strong>in</strong>ary operations<br />
unary operations<br />
z = φ(x, y) d = 0, . . . , D OPS MOVES<br />
x + cy z d = x d + cy d 2D 3D<br />
x × y z d = P d<br />
k=0 h<br />
x ky d−k D 2 3D<br />
x/y z d = 1 x y d − P i<br />
d−1<br />
0 k=0 z ky d−k D 2 3D<br />
y = φ(x) d = 0, . . . , D OPS MOVES<br />
h<br />
ln(x) ỹ d = 1 ˜x x d − P i<br />
d−1<br />
0 k=1 x d−kỹ k D 2 2D<br />
exp(x) ỹ d = P d<br />
k=1 y d−k˜x k D 2 2D<br />
√ h<br />
x yd = 1 x 2y d − P i<br />
d−1<br />
0 k=1 y 1<br />
ky d−k 2 D2 3D<br />
h<br />
x r ỹ d = 1 r P d<br />
x 0 k=1 y d−k˜x k − P i<br />
d−1<br />
k=1 x d−kỹ k 2D 2 2D<br />
s<strong>in</strong>(v) ˜s d = P d<br />
j=1 ṽjc d−j 2D 2 3D<br />
cos(v) ˜c d = P d<br />
j=1 −ṽ js d−j<br />
tan(v) ˜φd = P d<br />
j=1 w d−jṽ j<br />
˜w d = 2 P d<br />
j=1 φ d−j “<br />
˜φ j<br />
arcs<strong>in</strong>(v) ˜φd = w −1<br />
0 ṽ d − P d−1<br />
j=1 w d−j ˜φ<br />
”<br />
j<br />
˜w d = − P d<br />
j=1 v d−j “<br />
˜φ j<br />
arctan(v) ˜φd = w −1<br />
0 ṽ d − P d−1<br />
j=1 w d−j ˜φ<br />
”<br />
j<br />
˜w d = 2 P d<br />
j=1 v d−jṽ j<br />
Sebastian F. Walter, Humboldt-Universität zu Berl<strong>in</strong> <strong>Algorithmic</strong> () <strong>Differentiation</strong> <strong>in</strong> <strong>Python</strong> <strong>with</strong> <strong>Application</strong> <strong>Examples</strong> Wednesday, 10.07.2010 16 / 27