Skip to content

Commit

Permalink
Fix second derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Aug 3, 2019
1 parent 7ce143b commit a47abb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ \subsection{Using the Derivative Annotation}\doublelabel{using-the-derivative-an
annotation(derivative(zeroDerivative=y, zeroDerivative=offset, order=2) = f_der2);
end f_der;

function f_der "Second derivative of simple table lookup"
function f_der2 "Second derivative of simple table lookup"
input Real x;
input Real y[:, 2];
input Real offset;
Expand All @@ -1469,7 +1469,7 @@ \subsection{Using the Derivative Annotation}\doublelabel{using-the-derivative-an
output Real z_der2;
algorithm
...
end f_der;
end f_der2;

function f_general_der "Derivative of table lookup taking
into account varying tables"
Expand Down

0 comments on commit a47abb1

Please sign in to comment.