\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
log_forward¶
View page sourceLogarithm Function Forward Mode Theory¶
Derivatives¶
If \(F(x)\) is \(\R{log} (x)\) or \(\R{log1p} (x)\) the corresponding derivative satisfies the equation
where
In the standard math function differential equation , \(A(x) = 0\), \(B(x) = \bar{b} + x\), and \(D(x) = 1\). We use \(a\), \(b\), \(d\), and \(z\) to denote the Taylor coefficients for \(A [ X (t) ]\), \(B [ X (t) ]\), \(D [ X (t) ]\), and \(F [ X(t) ]\) respectively.
Taylor Coefficients Recursion¶
For orders \(j = 0 , 1, \ldots\),