Syntax # include <cppad/std_math_unary.hpp>y = fun(x)
Purpose
Places a copy of the standard math unary functions in the CppAD namespace.
This is included with <cppad/cppad.hpp> and can
be included separately.
Type
The Type is determined by the argument x
and is either float or double.
x
The argument x has the following prototype
const Type &x
fun
A definition of fun is included for each of the
following functions:
abs,
acos,
asin,
atan,
cos,
coshexp,
log,
log10,
sin,
sinh,
sqrt,
tan,
tanh,
Input File: cppad/std_math_unary.hpp