CppAD: A C++ Algorithmic Differentiation Package
20171217
|
Define a class like double but with an absolute zero. More...
Go to the source code of this file.
Classes | |
class | CppAD::zdouble |
Class that is like double, except that it has an absolute zero. More... | |
Namespaces | |
CppAD | |
contains all the variables and functions defined by the CppAD package. | |
Macros | |
#define | CPPAD_ZDOUBLE_COMPARE_OPERATOR(op) |
Define a comparison member operator. More... | |
#define | CPPAD_ZDOUBLE_NORMAL_ASSIGN_OPERATOR(op) |
Define a compound assignment member operator that functions the same as corresponding double operator. More... | |
#define | CPPAD_ZDOUBLE_NORMAL_BINARY_OPERATOR(op) |
define CPPAD_ZDOUBLE_NORMAL_BINARY_OPERATOR(op)Define a binary arithmetic member operator that functions the same as corresponding double operator. More... | |
#define | CPPAD_ZDOUBLE_OTHER_BINARY_OPERATOR(op) |
Define a binary arithmetic operator that is not a member because the double operand is on the left. More... | |
#define | CPPAD_ZDOUBLE_OTHER_COMPARE_OPERATOR(op, op_switch) |
Define a comparison operator that is not a member because the double operand is on the left. More... | |
#define | CPPAD_ZDOUBLE_STD_MATH(fun) |
Define a standard math function. More... | |
#define | CPPAD_ZDOUBLE_STD_MATH_FRIEND(fun) friend zdouble fun(const zdouble& z); |
Declare that a standard math function is a friend. More... | |
#define | CPPAD_ZDOUBLE_UNARY_OPERATOR(op) |
Define a unary compound assignment member operator. More... | |
Functions | |
zdouble | CppAD::abs (const zdouble &x) |
Base type requirement: abs. More... | |
bool | CppAD::abs_geq (const zdouble &x, const zdouble &y) |
zdouble | CppAD::acos (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::acosh (const zdouble &z) |
C++2011 standard math function. More... | |
zdouble | CppAD::asin (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::asinh (const zdouble &z) |
C++2011 standard math function. More... | |
zdouble | CppAD::atan (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::atanh (const zdouble &z) |
C++2011 standard math function. More... | |
zdouble | CppAD::azmul (const zdouble &x, const zdouble &y) |
Base type requirement: azmul. More... | |
zdouble | CppAD::CondExpOp (enum CompareOp cop, const zdouble &left, const zdouble &right, const zdouble &exp_if_true, const zdouble &exp_if_false) |
Base type requirement: CondExpOp. More... | |
zdouble | CppAD::cos (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::cosh (const zdouble &z) |
Normal standard math function. More... | |
bool | CppAD::EqualOpSeq (const zdouble &x, const zdouble &y) |
Base type requirement: CondExpRel. More... | |
zdouble | CppAD::erf (const zdouble &z) |
C++2011 standard math function. More... | |
zdouble | CppAD::exp (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::expm1 (const zdouble &z) |
C++2011 standard math function. More... | |
zdouble | CppAD::fabs (const zdouble &z) |
Normal standard math function. More... | |
bool | CppAD::GreaterThanOrZero (const zdouble &x) |
bool | CppAD::GreaterThanZero (const zdouble &x) |
Base type requirement: Ordered. More... | |
bool | CppAD::IdenticalEqualPar (const zdouble &x, const zdouble &y) |
bool | CppAD::IdenticalOne (const zdouble &x) |
bool | CppAD::IdenticalPar (const zdouble &x) |
Base type requirement: Identical. More... | |
bool | CppAD::IdenticalZero (const zdouble &x) |
int | CppAD::Integer (const zdouble &x) |
Base type requirement: Integer. More... | |
bool | CppAD::LessThanOrZero (const zdouble &x) |
bool | CppAD::LessThanZero (const zdouble &x) |
zdouble | CppAD::log (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::log10 (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::log1p (const zdouble &z) |
C++2011 standard math function. More... | |
template<> | |
zdouble | CppAD::nan< zdouble > (const zdouble &zero) |
Must specialize CppAD::nan because zdouble 0/0 is not nan. More... | |
bool | CppAD::operator!= (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
zdouble | CppAD::operator* (const double &x, const zdouble &z) |
Binary arithmetic operator with absolute zero. More... | |
zdouble | CppAD::operator+ (const double &x, const zdouble &z) |
Normal binary arithmetic operator. More... | |
zdouble | CppAD::operator- (const double &x, const zdouble &z) |
Normal binary arithmetic operator. More... | |
zdouble | CppAD::operator/ (const double &x, const zdouble &z) |
Binary arithmetic operator with absolute zero. More... | |
bool | CppAD::operator< (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
std::ostream & | CppAD::operator<< (std::ostream &os, const zdouble &z) |
Base type requirement: output operator. More... | |
bool | CppAD::operator<= (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
bool | CppAD::operator== (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
bool | CppAD::operator> (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
bool | CppAD::operator>= (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
zdouble | CppAD::pow (const zdouble &x, const zdouble &y) |
Base type requirement: pow. More... | |
zdouble | CppAD::sign (const zdouble &x) |
Base type requirement: sign. More... | |
zdouble | CppAD::sin (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::sinh (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::sqrt (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::tan (const zdouble &z) |
Normal standard math function. More... | |
zdouble | CppAD::tanh (const zdouble &z) |
Normal standard math function. More... | |
Define a class like double but with an absolute zero.
Definition in file zdouble.hpp.