CppAD: A C++ Algorithmic Differentiation Package
20171217
|
contains all the variables and functions defined by the CppAD package. More...
Namespaces | |
ipopt | |
local | |
Classes | |
class | AD |
class | ADFun |
Class used to hold function objects. More... | |
class | atomic_base |
class | checkpoint |
class | det_by_lu |
class | det_by_minor |
class | discrete |
class | ErrorHandler |
class | index_sort_element |
Helper class used by index_sort. More... | |
class | IntegrateLast |
class | numeric_limits |
All tthese defaults correspond to errors. More... | |
class | numeric_limits< AD< Base > > |
Partial specialization that defines limits for for all AD types. More... | |
class | ode_evaluate_fun |
struct | ok_if_S_same_as_T |
struct | ok_if_S_same_as_T< T, T > |
class | old_atomic |
Class that actually implements the afun(id, ax, ay) calls. More... | |
class | omp_alloc |
class | RombergMul |
class | RombergMul< Fun, SizeVector, FloatVector, 1 > |
class | SliceLast |
class | sparse_hes_work |
Class used to hold information used by Sparse Hessian routine in this file, so it does not need to be recomputed every time. More... | |
class | sparse_hessian_work |
class used by SparseHessian to hold information so it does not need to be recomputed. More... | |
class | sparse_jac_work |
Class used to hold information used by Sparse Jacobian routines in this file, so they do not need to be recomputed every time. More... | |
class | sparse_jacobian_work |
class used by SparseJacobian to hold information so it does not need to be recomputed. More... | |
class | sparse_rc |
sparsity pattern for a matrix with indices of type size_t More... | |
class | sparse_rcv |
Sparse matrices with elements of type Scalar. More... | |
class | test_boolofvoid |
One class object is used to run a group of tests. More... | |
class | thread_alloc |
Capacity vector for memory allocation block sizes. More... | |
struct | to_string_struct |
struct | to_string_struct< adouble > |
struct | to_string_struct< CppAD::AD< Base > > |
struct | to_string_struct< double > |
struct | to_string_struct< float > |
struct | to_string_struct< long double > |
struct | to_string_struct< signed int > |
struct | to_string_struct< signed long > |
struct | to_string_struct< signed long long > |
struct | to_string_struct< signed short > |
struct | to_string_struct< unsigned int > |
struct | to_string_struct< unsigned long > |
struct | to_string_struct< unsigned long long > |
struct | to_string_struct< unsigned short > |
class | TrackElement |
class | user_atomic |
link so that user_atomic<Base>::clear() still works More... | |
class | VecAD |
Vector of AD objects that tracks indexing operations on the tape. More... | |
class | VecAD_reference |
Class used to hold a reference to an element of a VecAD object. More... | |
class | vector |
The CppAD Simple Vector template class. More... | |
class | vectorBool |
class | vectorBoolElement |
Class that is used to hold a non-constant element of a vector. More... | |
class | zdouble |
Class that is like double, except that it has an absolute zero. More... | |
Typedefs | |
typedef CPPAD_TAPE_ADDR_TYPE | addr_t |
typedef CPPAD_TAPE_ID_TYPE | tape_id_t |
Enumerations | |
enum | CompareOp { CompareLt, CompareLe, CompareEq, CompareGe, CompareGt, CompareNe } |
enum | tape_manage_job { tape_manage_new, tape_manage_delete, tape_manage_clear } |
Functions | |
template<class Base > | |
AD< Base > | abs (const AD< Base > &x) |
template<class Base > | |
AD< Base > | abs (const VecAD_reference< Base > &x) |
double | abs (const double &x) |
float | abs (const float &x) |
std::complex< double > | abs (const std::complex< double > &x) |
adouble | abs (const adouble &x) |
std::complex< float > | abs (const std::complex< float > &x) |
zdouble | abs (const zdouble &x) |
Base type requirement: abs. More... | |
template<class Base > | |
AD< Base > | abs2 (const AD< Base > &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | abs_geq (const AD< Base > &x, const AD< Base > &y) |
Check if absolute value of one AD<Base> is greater or equal another. More... | |
bool | abs_geq (const double &x, const double &y) |
bool | abs_geq (const float &x, const float &y) |
bool | abs_geq (const std::complex< double > &x, const std::complex< double > &y) |
bool | abs_geq (const adouble &x, const adouble &y) |
bool | abs_geq (const std::complex< float > &x, const std::complex< float > &y) |
bool | abs_geq (const zdouble &x, const zdouble &y) |
template<typename Float > | |
bool | AbsGeq (const Float &x, const Float &y) |
bool | AbsGeq (const std::complex< double > &x, const std::complex< double > &y) |
bool | AbsGeq (const std::complex< float > &x, const std::complex< float > &y) |
std::complex< double > | acos (const std::complex< double > &x) |
std::complex< float > | acos (const std::complex< float > &x) |
zdouble | acos (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | acos (const AD< Base > &x) |
template<class Base > | |
AD< Base > | acos (const VecAD_reference< Base > &x) |
std::complex< double > | acosh (const std::complex< double > &x) |
adouble | acosh (const adouble &x) |
zdouble | acosh (const zdouble &z) |
C++2011 standard math function. More... | |
template<class Base > | |
AD< Base > | acosh (const AD< Base > &x) |
template<class Base > | |
AD< Base > | acosh (const VecAD_reference< Base > &x) |
std::complex< double > | asin (const std::complex< double > &x) |
std::complex< float > | asin (const std::complex< float > &x) |
zdouble | asin (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | asin (const AD< Base > &x) |
template<class Base > | |
AD< Base > | asin (const VecAD_reference< Base > &x) |
std::complex< double > | asinh (const std::complex< double > &x) |
adouble | asinh (const adouble &x) |
zdouble | asinh (const zdouble &z) |
C++2011 standard math function. More... | |
template<class Base > | |
AD< Base > | asinh (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | asinh (const AD< Base > &x) |
std::complex< double > | atan (const std::complex< double > &x) |
std::complex< float > | atan (const std::complex< float > &x) |
zdouble | atan (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | atan (const AD< Base > &x) |
template<class Base > | |
AD< Base > | atan (const VecAD_reference< Base > &x) |
float | atan2 (float x, float y) |
double | atan2 (double x, double y) |
template<class Base > | |
AD< Base > | atan2 (const AD< Base > &y, const AD< Base > &x) |
template<class Base > | |
AD< Base > | atan2 (const VecAD_reference< Base > &y, const AD< Base > &x) |
template<class Base > | |
AD< Base > | atan2 (const AD< Base > &y, const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | atan2 (const VecAD_reference< Base > &y, const VecAD_reference< Base > &x) |
std::complex< double > | atanh (const std::complex< double > &x) |
adouble | atanh (const adouble &x) |
zdouble | atanh (const zdouble &z) |
C++2011 standard math function. More... | |
template<class Base > | |
AD< Base > | atanh (const AD< Base > &x) |
template<class Base > | |
AD< Base > | atanh (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | azmul (const AD< Base > &x, const AD< Base > &y) |
template<class Base > | |
AD< Base > | azmul (const AD< Base > &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | azmul (const VecAD_reference< Base > &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | azmul (const VecAD_reference< Base > &x, const AD< Base > &y) |
template<class Base > | |
AD< Base > | azmul (const Base &x, const AD< Base > &y) |
template<class Base > | |
AD< Base > | azmul (const Base &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | azmul (const AD< Base > &x, const Base &y) |
template<class Base > | |
AD< Base > | azmul (const VecAD_reference< Base > &x, const Base &y) |
zdouble | azmul (const zdouble &x, const zdouble &y) |
Base type requirement: azmul. More... | |
template<class BAvector , class Fun > | |
void | BenderQuad (const BAvector &x, const BAvector &y, Fun fun, BAvector &g, BAvector &gx, BAvector &gxx) |
template<class NumericType > | |
NumericType | CheckNumericType (void) |
template<class Scalar , class Vector > | |
void | CheckSimpleVector (const Scalar &x, const Scalar &y) |
template<class Scalar , class Vector > | |
void | CheckSimpleVector (void) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExp (const AD< Base > &flag, const AD< Base > &if_true, const AD< Base > &if_false) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExpEq (const AD< Base > &left, const AD< Base > &right, const AD< Base > &if_true, const AD< Base > &if_false) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExpGe (const AD< Base > &left, const AD< Base > &right, const AD< Base > &if_true, const AD< Base > &if_false) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExpGt (const AD< Base > &left, const AD< Base > &right, const AD< Base > &if_true, const AD< Base > &if_false) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExpLe (const AD< Base > &left, const AD< Base > &right, const AD< Base > &if_true, const AD< Base > &if_false) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExpLt (const AD< Base > &left, const AD< Base > &right, const AD< Base > &if_true, const AD< Base > &if_false) |
float | CondExpOp (enum CompareOp cop, const float &left, const float &right, const float &exp_if_true, const float &exp_if_false) |
double | CondExpOp (enum CompareOp cop, const double &left, const double &right, const double &exp_if_true, const double &exp_if_false) |
std::complex< double > | CondExpOp (enum CppAD::CompareOp cop, const std::complex< double > &left, const std::complex< double > &right, const std::complex< double > &trueCase, const std::complex< double > &falseCase) |
adouble | CondExpOp (enum CppAD::CompareOp cop, const adouble &left, const adouble &right, const adouble &trueCase, const adouble &falseCase) |
template<class Base > | |
AD< Base > | CondExpOp (enum CompareOp cop, const AD< Base > &left, const AD< Base > &right, const AD< Base > &trueCase, const AD< Base > &falseCase) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | CondExpOp (enum CompareOp cop, const AD< Base > &left, const AD< Base > &right, const AD< Base > &if_true, const AD< Base > &if_false) |
std::complex< float > | CondExpOp (enum CppAD::CompareOp cop, const std::complex< float > &left, const std::complex< float > &right, const std::complex< float > &trueCase, const std::complex< float > &falseCase) |
zdouble | 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... | |
template<class CompareType , class ResultType > | |
ResultType | CondExpTemplate (enum CompareOp cop, const CompareType &left, const CompareType &right, const ResultType &exp_if_true, const ResultType &exp_if_false) |
Template function to implement Conditional Expressions for simple types that have comparision operators. More... | |
template<class Base > | |
const AD< Base > & | conj (const AD< Base > &x) |
zdouble | cos (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | cos (const AD< Base > &x) |
template<class Base > | |
AD< Base > | cos (const VecAD_reference< Base > &x) |
zdouble | cosh (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | cosh (const AD< Base > &x) |
template<class Base > | |
AD< Base > | cosh (const VecAD_reference< Base > &x) |
template<class Vector > | |
bool | det_33 (const Vector &x, const Vector &d) |
template<class Vector > | |
bool | det_grad_33 (const Vector &x, const Vector &g) |
template<class Scalar > | |
Scalar | det_of_minor (const std::vector< Scalar > &a, size_t m, size_t n, std::vector< size_t > &r, std::vector< size_t > &c) |
double | elapsed_seconds (void) |
Returns the elapsed number since the first call to this function. More... | |
template<class Type > | |
Type | epsilon (void) |
bool | EqualOpSeq (const float &x, const float &y) |
bool | EqualOpSeq (const double &x, const double &y) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | EqualOpSeq (const AD< Base > &x, const AD< Base > &y) |
bool | EqualOpSeq (const std::complex< double > &x, const std::complex< double > &y) |
template<class Base > | |
bool | EqualOpSeq (const AD< Base > &u, const AD< Base > &v) |
bool | EqualOpSeq (const adouble &x, const adouble &y) |
bool | EqualOpSeq (const std::complex< float > &x, const std::complex< float > &y) |
bool | EqualOpSeq (const zdouble &x, const zdouble &y) |
Base type requirement: CondExpRel. More... | |
std::complex< double > | erf (const std::complex< double > &x) |
adouble | erf (const adouble &x) |
zdouble | erf (const zdouble &z) |
C++2011 standard math function. More... | |
template<class Base > | |
AD< Base > | erf (const AD< Base > &x) |
template<class Base > | |
AD< Base > | erf (const VecAD_reference< Base > &x) |
zdouble | exp (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | exp (const AD< Base > &x) |
template<class Base > | |
AD< Base > | exp (const VecAD_reference< Base > &x) |
std::complex< double > | expm1 (const std::complex< double > &x) |
adouble | expm1 (const adouble &x) |
zdouble | expm1 (const zdouble &z) |
C++2011 standard math function. More... | |
template<class Base > | |
AD< Base > | expm1 (const AD< Base > &x) |
template<class Base > | |
AD< Base > | expm1 (const VecAD_reference< Base > &x) |
std::complex< double > | fabs (const std::complex< double > &x) |
zdouble | fabs (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | fabs (const AD< Base > &x) |
template<class Base > | |
AD< Base > | fabs (const VecAD_reference< Base > &x) |
template<class Base , class Fun , class Vector > | |
bool | FunCheck (ADFun< Base > &f, Fun &g, const Vector &x, const Base &r, const Base &a) |
template<class Base > | |
void | get_check_for_nan (CppAD::vector< Base > &vec, const std::string &file_name) |
Gets a vector that was stored by put_check_for_nan. More... | |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | GreaterThanOrZero (const AD< Base > &x) |
Check if an AD<Base> is greater than or equal zero. More... | |
template<class Base > | |
bool | GreaterThanOrZero (const AD< Base > &u) |
Check if an AD<Base> is greater than or equal zero. More... | |
bool | GreaterThanOrZero (const double &x) |
bool | GreaterThanOrZero (const float &x) |
bool | GreaterThanOrZero (const std::complex< double > &x) |
bool | GreaterThanOrZero (const adouble &x) |
bool | GreaterThanOrZero (const std::complex< float > &x) |
bool | GreaterThanOrZero (const zdouble &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | GreaterThanZero (const AD< Base > &x) |
Check if an AD<Base> is greater than zero. More... | |
template<class Base > | |
bool | GreaterThanZero (const AD< Base > &u) |
Check if an AD<Base> is greater than zero. More... | |
bool | GreaterThanZero (const double &x) |
bool | GreaterThanZero (const float &x) |
bool | GreaterThanZero (const std::complex< double > &x) |
bool | GreaterThanZero (const adouble &x) |
bool | GreaterThanZero (const std::complex< float > &x) |
bool | GreaterThanZero (const zdouble &x) |
Base type requirement: Ordered. More... | |
template<class Value > | |
unsigned short | hash_code (const Value &value) |
General purpose hash code for an arbitrary value. More... | |
unsigned short | hash_code (const adouble &x) |
template<class Vector > | |
bool | hasnan (const Vector &v) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | IdenticalEqualPar (const AD< Base > &x, const AD< Base > &y) |
Determine if two AD<Base> objects are equal, and must be equal during any tape playback. More... | |
bool | IdenticalEqualPar (const double &x, const double &y) |
bool | IdenticalEqualPar (const float &x, const float &y) |
bool | IdenticalEqualPar (const std::complex< double > &x, const std::complex< double > &y) |
template<class Base > | |
bool | IdenticalEqualPar (const AD< Base > &u, const AD< Base > &v) |
Determine if two AD<Base> objects are equal, and must be equal during any tape playback. More... | |
bool | IdenticalEqualPar (const adouble &x, const adouble &y) |
bool | IdenticalEqualPar (const std::complex< float > &x, const std::complex< float > &y) |
bool | IdenticalEqualPar (const zdouble &x, const zdouble &y) |
template<class Base > | |
bool | IdenticalOne (const AD< Base > &u) |
Determine if an AD<Base> is equal to one, and must be equal one during any tape playback. More... | |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | IdenticalOne (const AD< Base > &x) |
Determine if an AD<Base> is equal to one, and must be equal one during any tape playback. More... | |
bool | IdenticalOne (const double &x) |
bool | IdenticalOne (const float &x) |
bool | IdenticalOne (const std::complex< double > &x) |
bool | IdenticalOne (const adouble &x) |
bool | IdenticalOne (const std::complex< float > &x) |
bool | IdenticalOne (const zdouble &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | IdenticalPar (const AD< Base > &x) |
Determine if an AD<Base> object is a parameter, and could never have a different value during any tape playback. More... | |
template<class Base > | |
bool | IdenticalPar (const AD< Base > &u) |
Determine if an AD<Base> object is a parameter, and could never have a different value during any tape playback. More... | |
bool | IdenticalPar (const float &x) |
bool | IdenticalPar (const double &x) |
bool | IdenticalPar (const std::complex< double > &x) |
bool | IdenticalPar (const adouble &x) |
bool | IdenticalPar (const std::complex< float > &x) |
bool | IdenticalPar (const zdouble &x) |
Base type requirement: Identical. More... | |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | IdenticalZero (const AD< Base > &x) |
Determine if an AD<Base> is equal to zero, and must be equal zero during any tape playback. More... | |
template<class Base > | |
bool | IdenticalZero (const AD< Base > &u) |
Determine if an AD<Base> is equal to zero, and must be equal zero during any tape playback. More... | |
bool | IdenticalZero (const double &x) |
bool | IdenticalZero (const float &x) |
bool | IdenticalZero (const std::complex< double > &x) |
bool | IdenticalZero (const adouble &x) |
bool | IdenticalZero (const std::complex< float > &x) |
bool | IdenticalZero (const zdouble &x) |
template<class Base > | |
AD< Base > | imag (const AD< Base > &x) |
template<typename VectorAD > | |
void | Independent (VectorAD &x, size_t abort_op_index) |
Declaration of independent variables. More... | |
template<typename VectorAD > | |
void | Independent (VectorAD &x) |
Declaration of independent variables without abort option. More... | |
template<class VectorKey , class VectorSize > | |
void | index_sort (const VectorKey &keys, VectorSize &ind) |
Compute the indices that sort a vector of keys. More... | |
template<class Base > | |
int | Integer (const AD< Base > &u) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION int | Integer (const AD< Base > &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION int | Integer (const VecAD_reference< Base > &x) |
int | Integer (const double &x) |
int | Integer (const float &x) |
int | Integer (const std::complex< double > &x) |
int | Integer (const std::complex< float > &x) |
int | Integer (const zdouble &x) |
Base type requirement: Integer. More... | |
template<class Scalar > | |
bool | isnan (const Scalar &s) |
bool | isnan (const std::complex< double > &z) |
bool | isnan (const std::complex< float > &z) |
template<typename Base , typename Vector > | |
void | JacobianFor (ADFun< Base > &f, const Vector &x, Vector &jac) |
template<typename Base , typename Vector > | |
void | JacobianRev (ADFun< Base > &f, const Vector &x, Vector &jac) |
template<typename Float > | |
bool | LeqZero (const Float &x) |
bool | LeqZero (const std::complex< double > &x) |
bool | LeqZero (const std::complex< float > &x) |
template<class Base > | |
bool | LessThanOrZero (const AD< Base > &u) |
Check if an AD<Base> is less than or equal zero. More... | |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | LessThanOrZero (const AD< Base > &x) |
Check if an AD<Base> is less than or equal zero. More... | |
bool | LessThanOrZero (const double &x) |
bool | LessThanOrZero (const float &x) |
bool | LessThanOrZero (const std::complex< double > &x) |
bool | LessThanOrZero (const adouble &x) |
bool | LessThanOrZero (const std::complex< float > &x) |
bool | LessThanOrZero (const zdouble &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | LessThanZero (const AD< Base > &x) |
Check if an AD<Base> is less than zero. More... | |
template<class Base > | |
bool | LessThanZero (const AD< Base > &u) |
Check if an AD<Base> is less than zero. More... | |
bool | LessThanZero (const double &x) |
bool | LessThanZero (const float &x) |
bool | LessThanZero (const std::complex< double > &x) |
bool | LessThanZero (const adouble &x) |
bool | LessThanZero (const std::complex< float > &x) |
bool | LessThanZero (const zdouble &x) |
zdouble | log (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | log (const AD< Base > &x) |
template<class Base > | |
AD< Base > | log (const VecAD_reference< Base > &x) |
zdouble | log10 (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | log10 (const AD< Base > &x) |
Compute the log of base 10 of x where has type AD<Base> More... | |
template<class Base > | |
AD< Base > | log10 (const VecAD_reference< Base > &x) |
std::complex< double > | log1p (const std::complex< double > &x) |
adouble | log1p (const adouble &x) |
zdouble | log1p (const zdouble &z) |
C++2011 standard math function. More... | |
template<class Base > | |
AD< Base > | log1p (const AD< Base > &x) |
template<class Base > | |
AD< Base > | log1p (const VecAD_reference< Base > &x) |
template<class SizeVector , class FloatVector > | |
int | LuFactor (SizeVector &ip, SizeVector &jp, FloatVector &LU) |
template<typename SizeVector , typename FloatVector > | |
void | LuInvert (const SizeVector &ip, const SizeVector &jp, const FloatVector &LU, FloatVector &B) |
template<class SizeVector , class ADvector , class Base > | |
int | LuRatio (SizeVector &ip, SizeVector &jp, ADvector &LU, AD< Base > &ratio) |
template<typename Float , typename FloatVector > | |
int | LuSolve (size_t n, size_t m, const FloatVector &A, const FloatVector &B, FloatVector &X, Float &logdet) |
template<class Vector > | |
void | mat_sum_sq (size_t n, Vector &x, Vector &y, Vector &z) |
bool | memory_leak (size_t add_static=0) |
Function that checks allocator thread_alloc for misuse that results in memory leaks. More... | |
template<class Scalar > | |
Scalar | nan (const Scalar &zero) |
template<> | |
zdouble | nan< zdouble > (const zdouble &zero) |
Must specialize CppAD::nan because zdouble 0/0 is not nan. More... | |
template<class Type > | |
bool | near_equal_isfinite (const Type &x, const Type &y) |
template<class Base > | |
bool | NearEqual (const AD< Base > &x, const AD< Base > &y, const Base &r, const Base &a) |
template<class Base > | |
bool | NearEqual (const Base &x, const AD< Base > &y, const Base &r, const Base &a) |
template<class Base > | |
bool | NearEqual (const AD< Base > &x, const Base &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const AD< Base > &x, const AD< Base > &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const Base &x, const AD< Base > &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const AD< Base > &x, const Base &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const VecAD_reference< Base > &x, const VecAD_reference< Base > &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const VecAD_reference< Base > &x, const AD< Base > &y, const Base &r, const Base &a) |
template<class Type > | |
bool | NearEqual (const Type &x, const Type &y, const Type &r, const Type &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const VecAD_reference< Base > &x, const Base &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const AD< Base > &x, const VecAD_reference< Base > &y, const Base &r, const Base &a) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | NearEqual (const Base &x, const VecAD_reference< Base > &y, const Base &r, const Base &a) |
template<class Type > | |
bool | NearEqual (const std::complex< Type > &x, const std::complex< Type > &y, const Type &r, const Type &a) |
template<class Type > | |
bool | NearEqual (const std::complex< Type > &x, const Type &y, const Type &r, const Type &a) |
template<class Type > | |
bool | NearEqual (const Type &x, const std::complex< Type > &y, const Type &r, const Type &a) |
template<class Float > | |
void | ode_evaluate (const CppAD::vector< Float > &x, size_t p, CppAD::vector< Float > &fp) |
template<typename Scalar , typename Vector , typename Method > | |
Vector | OdeErrControl (Method &method, const Scalar &ti, const Scalar &tf, const Vector &xi, const Scalar &smin, const Scalar &smax, Scalar &scur, const Vector &eabs, const Scalar &erel, Vector &ef, Vector &maxabs, size_t &nstep) |
template<typename Scalar , typename Vector , typename Method > | |
Vector | OdeErrControl (Method &method, const Scalar &ti, const Scalar &tf, const Vector &xi, const Scalar &smin, const Scalar &smax, Scalar &scur, const Vector &eabs, const Scalar &erel, Vector &ef) |
template<typename Scalar , typename Vector , typename Method > | |
Vector | OdeErrControl (Method &method, const Scalar &ti, const Scalar &tf, const Vector &xi, const Scalar &smin, const Scalar &smax, Scalar &scur, const Vector &eabs, const Scalar &erel, Vector &ef, Vector &maxabs) |
template<typename Vector , typename Fun > | |
void | OdeGear (Fun &F, size_t m, size_t n, const Vector &T, Vector &X, Vector &e) |
template<class Scalar , class Vector , class Fun > | |
Vector | OdeGearControl (Fun &F, size_t M, const Scalar &ti, const Scalar &tf, const Vector &xi, const Scalar &smin, const Scalar &smax, Scalar &sini, const Vector &eabs, const Scalar &erel, Vector &ef, Vector &maxabs, size_t &nstep) |
template<class Base > | |
bool | operator!= (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | operator!= (const AD< Base > &left, const AD< Base > &right) |
bool | operator!= (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
template<class Base > | |
AD< Base > | operator* (const AD< Base > &left, const AD< Base > &right) |
zdouble | operator* (const double &x, const zdouble &z) |
Binary arithmetic operator with absolute zero. More... | |
template<class Base > | |
AD< Base > | operator+ (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
AD< Base > | operator+ (const VecAD_reference< Base > &right) |
zdouble | operator+ (const double &x, const zdouble &z) |
Normal binary arithmetic operator. More... | |
template<class Base > | |
AD< Base > | operator- (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
AD< Base > | operator- (const VecAD_reference< Base > &right) |
zdouble | operator- (const double &x, const zdouble &z) |
Normal binary arithmetic operator. More... | |
template<class Base > | |
AD< Base > | operator/ (const AD< Base > &left, const AD< Base > &right) |
zdouble | operator/ (const double &x, const zdouble &z) |
Binary arithmetic operator with absolute zero. More... | |
template<class Base > | |
bool | operator< (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | operator< (const AD< Base > &left, const AD< Base > &right) |
bool | operator< (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
template<class Base > | |
std::ostream & | operator<< (std::ostream &os, const AD< Base > &x) |
Write an AD<Base> object to an output stream. More... | |
template<class Base > | |
std::ostream & | operator<< (std::ostream &os, const VecAD_reference< Base > &e) |
Write a VecAD_reference<Base> object to an output stream. More... | |
template<class Base > | |
std::ostream & | operator<< (std::ostream &os, const VecAD< Base > &vec) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION std::ostream & | operator<< (std::ostream &os, const AD< Base > &x) |
Write an AD<Base> object to an output stream. More... | |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION std::ostream & | operator<< (std::ostream &os, const VecAD_reference< Base > &x) |
Write a VecAD_reference<Base> object to an output stream. More... | |
std::ostream & | operator<< (std::ostream &os, const zdouble &z) |
Base type requirement: output operator. More... | |
template<class Type > | |
std::ostream & | operator<< (std::ostream &os, const CppAD::vector< Type > &vec) |
output a vector More... | |
std::ostream & | operator<< (std::ostream &os, const vectorBool &v) |
output a vector More... | |
template<class Base > | |
bool | operator<= (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | operator<= (const AD< Base > &left, const AD< Base > &right) |
bool | operator<= (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
template<class Base > | |
bool | operator== (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | operator== (const AD< Base > &left, const AD< Base > &right) |
bool | operator== (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
template<class Base > | |
bool | operator> (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | operator> (const AD< Base > &left, const AD< Base > &right) |
bool | operator> (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
template<class Base > | |
bool | operator>= (const AD< Base > &left, const AD< Base > &right) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | operator>= (const AD< Base > &left, const AD< Base > &right) |
bool | operator>= (const double &x, const zdouble &z) |
Normal non-member compare operator. More... | |
template<class Base > | |
std::istream & | operator>> (std::istream &is, AD< Base > &x) |
Read an AD<Base> object from an input stream. More... | |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION std::istream & | operator>> (std::istream &is, AD< Base > &x) |
Read an AD<Base> object from an input stream. More... | |
template<class BaseVector , class Fun > | |
int | opt_val_hes (const BaseVector &x, const BaseVector &y, Fun fun, BaseVector &jac, BaseVector &hes) |
Computing Jabobians and Hessians of Optimal Values. More... | |
template<class Base > | |
void | parallel_ad (void) |
Enable parallel execution mode with AD<Base> by initializing static variables that my be used. More... | |
template<class Base > | |
bool | Parameter (const VecAD< Base > &u) |
template<class Base > | |
bool | Parameter (const AD< Base > &u) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | Parameter (const AD< Base > &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | Parameter (const VecAD< Base > &x) |
template<class Type , class Vector > | |
Type | Poly (size_t k, const Vector &a, const Type &z) |
template<class Base > | |
AD< Base > | pow (const AD< Base > &x, const AD< Base > &y) |
template<class Type > | |
Type | pow (const Type &x, const int &n) |
template<class Base > | |
AD< Base > | pow (const AD< Base > &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | pow (const VecAD_reference< Base > &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | pow (const VecAD_reference< Base > &x, const AD< Base > &y) |
template<class Base > | |
AD< Base > | pow (const Base &x, const AD< Base > &y) |
template<class Base > | |
AD< Base > | pow (const Base &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | pow (const AD< Base > &x, const Base &y) |
template<class Base > | |
AD< Base > | pow (const VecAD_reference< Base > &x, const Base &y) |
template<class Base > | |
AD< Base > | pow (const double &x, const AD< Base > &y) |
template<class Base > | |
AD< Base > | pow (const double &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | pow (const AD< Base > &x, const double &y) |
template<class Base > | |
AD< Base > | pow (const VecAD_reference< Base > &x, const double &y) |
AD< double > | pow (const double &x, const AD< double > &y) |
AD< double > | pow (const double &x, const VecAD_reference< double > &y) |
AD< double > | pow (const AD< double > &x, const double &y) |
AD< double > | pow (const VecAD_reference< double > &x, const double &y) |
template<class Base > | |
AD< Base > | pow (const int &x, const VecAD_reference< Base > &y) |
template<class Base > | |
AD< Base > | pow (const int &x, const AD< Base > &y) |
std::complex< double > | pow (const std::complex< double > &x, const std::complex< double > &y) |
std::complex< float > | pow (const std::complex< float > &x, const std::complex< float > &y) |
zdouble | pow (const zdouble &x, const zdouble &y) |
Base type requirement: pow. More... | |
template<class Base > | |
void | PrintFor (const AD< Base > &pos, const char *before, const AD< Base > &var, const char *after) |
template<class Base > | |
void | PrintFor (const char *before, const AD< Base > &var) |
template<class Base > | |
void | PrintFor (const char *before, const VecAD_reference< Base > &var) |
template<class Base > | |
void | PrintFor (const VecAD_reference< Base > &pos, const char *before, const VecAD_reference< Base > &var, const char *after) |
template<class Base > | |
void | PrintFor (const VecAD_reference< Base > &pos, const char *before, const AD< Base > &var, const char *after) |
template<class Base > | |
void | PrintFor (const AD< Base > &pos, const char *before, const VecAD_reference< Base > &var, const char *after) |
template<class Base > | |
void | put_check_for_nan (const CppAD::vector< Base > &vec, std::string &file_name) |
Stores a vector in a file when nans occur. More... | |
template<class Base > | |
const AD< Base > & | real (const AD< Base > &x) |
template<class Fun , class Float > | |
Float | RombergOne (Fun &F, const Float &a, const Float &b, size_t n, size_t p, Float &e) |
template<typename Scalar , typename Vector , typename Fun > | |
Vector | Rosen34 (Fun &F, size_t M, const Scalar &ti, const Scalar &tf, const Vector &xi) |
template<typename Scalar , typename Vector , typename Fun > | |
Vector | Rosen34 (Fun &F, size_t M, const Scalar &ti, const Scalar &tf, const Vector &xi, Vector &e) |
template<typename Scalar , typename Vector , typename Fun > | |
Vector | Runge45 (Fun &F, size_t M, const Scalar &ti, const Scalar &tf, const Vector &xi) |
template<typename Scalar , typename Vector , typename Fun > | |
Vector | Runge45 (Fun &F, size_t M, const Scalar &ti, const Scalar &tf, const Vector &xi, Vector &e) |
template<class Element > | |
std::set< Element > | set_union (const std::set< Element > &left, const std::set< Element > &right) |
template<class Base > | |
AD< Base > | sign (const AD< Base > &x) |
template<class Base > | |
AD< Base > | sign (const VecAD_reference< Base > &x) |
double | sign (const double &x) |
float | sign (const float &x) |
std::complex< double > | sign (const std::complex< double > &x) |
adouble | sign (const adouble &x) |
std::complex< float > | sign (const std::complex< float > &x) |
zdouble | sign (const zdouble &x) |
Base type requirement: sign. More... | |
zdouble | sin (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | sin (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | sin (const AD< Base > &x) |
zdouble | sinh (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | sinh (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | sinh (const AD< Base > &x) |
template<class Float , class FloatVector > | |
void | sparse_hes_fun (size_t n, const FloatVector &x, const CppAD::vector< size_t > &row, const CppAD::vector< size_t > &col, size_t p, FloatVector &fp) |
template<class Float , class FloatVector > | |
void | sparse_jac_fun (size_t m, size_t n, const FloatVector &x, const CppAD::vector< size_t > &row, const CppAD::vector< size_t > &col, size_t p, FloatVector &fp) |
template<class Vector > | |
Vector | speed_test (void test(size_t size, size_t repeat), const Vector &size_vec, double time_min) |
void | SpeedTest (std::string Test(size_t size, size_t repeat), size_t first, int inc, size_t last) |
void | SpeedTestNdigit (size_t value, size_t &ndigit, size_t &pow10) |
zdouble | sqrt (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | sqrt (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | sqrt (const AD< Base > &x) |
zdouble | tan (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | tan (const VecAD_reference< Base > &x) |
template<class Base > | |
AD< Base > | tan (const AD< Base > &x) |
zdouble | tanh (const zdouble &z) |
Normal standard math function. More... | |
template<class Base > | |
AD< Base > | tanh (const AD< Base > &x) |
template<class Base > | |
AD< Base > | tanh (const VecAD_reference< Base > &x) |
template<class Test > | |
double | time_test (Test test, double time_min) |
Preform one wall clock execution timing test. More... | |
template<class Test > | |
double | time_test (Test test, double time_min, size_t test_size) |
Preform one wall clock execution timing test. More... | |
template<class Type > | |
std::string | to_string (const Type &value) |
size_t | TrackCount (const char *file, int line) |
template<class Type > | |
void | TrackDelVec (const char *file, int line, Type *oldptr) |
void | TrackError (const char *routine, const char *file, int line, const char *msg) |
template<class Type > | |
Type * | TrackExtend (const char *file, int line, size_t newlen, size_t ncopy, Type *oldptr) |
template<class Type > | |
Type * | TrackNewVec (const char *file, int line, size_t len, Type *) |
void | uniform_01 (size_t seed) |
template<class Vector > | |
void | uniform_01 (size_t n, Vector &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION Base | Value (const AD< Base > &x) |
template<class Base > | |
Base | Value (const AD< Base > &x) |
template<class Base > | |
AD< Base > | Var2Par (const AD< Base > &u) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | Var2Par (const AD< Base > &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION AD< Base > | Var2Par (const VecAD_reference< Base > &x) |
template<class Base > | |
bool | Variable (const VecAD< Base > &u) |
template<class Base > | |
bool | Variable (const AD< Base > &u) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | Variable (const AD< Base > &x) |
template<class Base > | |
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool | Variable (const VecAD< Base > &x) |
contains all the variables and functions defined by the CppAD package.
file abs_normal_fun.hpp Create an abs-normal representation of a function