|
| ADOLC_API friend adouble | operator+ (const double v, const adouble &a) |
| |
| ADOLC_API friend adouble | operator- (const double v, const adouble &a) |
| |
| ADOLC_API friend adouble | operator* (const double v, const adouble &a) |
| |
| ADOLC_API friend adouble | operator/ (const double v, const adouble &a) |
| |
| ADOLC_API friend adouble | tan (const adouble &a) |
| |
| ADOLC_API friend adouble | exp (const adouble &a) |
| |
| ADOLC_API friend adouble | log (const adouble &a) |
| |
| ADOLC_API friend adouble | sqrt (const adouble &a) |
| |
| ADOLC_API friend adouble | cbrt (const adouble &a) |
| |
| ADOLC_API friend adouble | sin (const adouble &a) |
| |
| ADOLC_API friend adouble | cos (const adouble &a) |
| |
| ADOLC_API friend adouble | asin (const adouble &a) |
| |
| ADOLC_API friend adouble | acos (const adouble &a) |
| |
| ADOLC_API friend adouble | atan (const adouble &a) |
| |
| ADOLC_API friend adouble | atan2 (const adouble &a, const adouble &b) |
| |
| ADOLC_API friend adouble | pow (const adouble &a, double v) |
| |
| ADOLC_API friend adouble | pow (const adouble &a, const adouble &b) |
| |
| ADOLC_API friend adouble | pow (double v, const adouble &a) |
| |
| ADOLC_API friend adouble | log10 (const adouble &a) |
| |
| ADOLC_API friend adouble | sinh (const adouble &a) |
| |
| ADOLC_API friend adouble | cosh (const adouble &a) |
| |
| ADOLC_API friend adouble | tanh (const adouble &a) |
| |
| ADOLC_API friend adouble | asinh (const adouble &a) |
| |
| ADOLC_API friend adouble | acosh (const adouble &a) |
| |
| ADOLC_API friend adouble | atanh (const adouble &a) |
| |
| ADOLC_API friend adouble | fabs (const adouble &a) |
| |
| ADOLC_API friend adouble | ceil (const adouble &a) |
| |
| ADOLC_API friend adouble | floor (const adouble &a) |
| |
| ADOLC_API friend adouble | fmax (const adouble &a, const adouble &b) |
| |
| ADOLC_API friend adouble | fmax (double v, const adouble &a) |
| |
| ADOLC_API friend adouble | fmax (const adouble &a, double v) |
| |
| ADOLC_API friend adouble | fmin (const adouble &a, const adouble &b) |
| |
| ADOLC_API friend adouble | fmin (double v, const adouble &a) |
| |
| ADOLC_API friend adouble | fmin (const adouble &a, double v) |
| |
| ADOLC_API friend adouble | ldexp (const adouble &a, const adouble &b) |
| |
| ADOLC_API friend adouble | ldexp (const adouble &a, const double v) |
| |
| ADOLC_API friend adouble | ldexp (const double v, const adouble &a) |
| |
| ADOLC_API friend double | frexp (const adouble &a, int *v) |
| |
| ADOLC_API friend adouble | erf (const adouble &a) |
| |
| ADOLC_API friend adouble | erfc (const adouble &a) |
| |
| ADOLC_API friend void | condassign (adouble &res, const adouble &cond, const adouble &arg1, const adouble &arg2) |
| |
| ADOLC_API friend void | condassign (adouble &res, const adouble &cond, const adouble &arg) |
| |
| ADOLC_API friend void | condeqassign (adouble &res, const adouble &cond, const adouble &arg1, const adouble &arg2) |
| |
| ADOLC_API friend void | condeqassign (adouble &res, const adouble &cond, const adouble &arg) |
| |
| ADOLC_API friend bool | operator!= (const double, const adouble &) |
| |
| ADOLC_API friend bool | operator== (const double, const adouble &) |
| |
| ADOLC_API friend bool | operator<= (const double, const adouble &) |
| |
| ADOLC_API friend bool | operator>= (const double, const adouble &) |
| |
| ADOLC_API friend bool | operator> (const double, const adouble &) |
| |
| ADOLC_API friend bool | operator< (const double, const adouble &) |
| |
| ostream & | operator<< (ostream &, const adouble &) |
| |
| istream & | operator>> (istream &, adouble &) |
| |
| ADOLC_API friend void | setNumDir (const size_t p) |
| |
| ADOLC_API friend size_t | getNumDir () |
| |
Active scalar for tapeless first-order forward differentiation.
adtl::adouble stores a primal value together with the directional derivatives configured by adtl::setNumDir(). Operations propagate those derivatives immediately; no tape is recorded and no later sweep is needed.
Use the taped adouble type instead when reverse mode, higher-order tape sweeps, or repeated evaluation of a recorded function is required.