Go to the source code of this file.
Namespaces | |
namespace | CppAD |
Defines | |
#define | CPPAD_STANDARD_MATH_UNARY_BASE(Name) |
#define | CPPAD_STANDARD_MATH_UNARY_BASE_TEMPLATE(Name, Op) |
Functions | |
template<class Base > | |
AD< Base > | CppAD::log10 (const AD< Base > &x) |
template<class Base > | |
AD< Base > | CppAD::log10 (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | CppAD::tan (const AD< Base > &x) |
template<class Base > | |
AD< Base > | CppAD::tan (const VecAD_reference< Base > &x) |
#define CPPAD_STANDARD_MATH_UNARY_BASE | ( | Name | ) |
\ inline float Name(const float &x) \ { return std::Name(x); } \ \ inline double Name(const double &x) \ { return std::Name(x); } \ \
Definition at line 278 of file std_math_unary.hpp.
#define CPPAD_STANDARD_MATH_UNARY_BASE_TEMPLATE | ( | Name, | |||
Op | ) |
template <class Base> \ inline AD<Base> AD<Base>::Name (void) const \ { using CppAD::Name; \ AD<Base> result; \ CPPAD_ASSERT_UNKNOWN( Parameter(result) ); \ result.value_ = Name(value_); \ if( Variable(*this) ) \ tape_this()->RecordOp(Op, result, taddr_); \ return result; \ } \ template <class Base> \ inline AD<Base> Name(const AD<Base> &x) \ { return x.Name(); } \ template <class Base> \ inline AD<Base> Name(const VecAD_reference<Base> &x) \ { return Name( x.ADBase() ); }
Definition at line 287 of file std_math_unary.hpp.