Files | |
file | vcap.h |
Contains declarations for class Vcap. | |
Defines | |
#define | EXPMAX 85.00 |
Maximum argument for exp(), sinh(), or cosh(). | |
#define | EXPMIN -85.00 |
Minimum argument for exp(), sinh(), or cosh(). | |
Functions | |
double | Vcap_exp (double x, int *ichop) |
Provide a capped exp() function. | |
double | Vcap_sinh (double x, int *ichop) |
Provide a capped sinh() function. | |
double | Vcap_cosh (double x, int *ichop) |
Provide a capped cosh() function. |
|
Provide a capped cosh() function. If the argument x of Vcap_cosh() exceeds EXPMAX or EXPMIN, then we return cosh(EXPMAX) or cosh(EXPMIN) rather than cosh(x).
|
|
Provide a capped exp() function. If the argument x of Vcap_exp() exceeds EXPMAX or EXPMIN, then we return exp(EXPMAX) or exp(EXPMIN) rather than exp(x).
|
|
Provide a capped sinh() function. If the argument x of Vcap_sinh() exceeds EXPMAX or EXPMIN, then we return sinh(EXPMAX) or sinh(EXPMIN) rather than sinh(x).
|