#include <math.h>
#include "CTB.hxx"
#include "CTBnum.hxx"
#include "CTBtraits.hxx"
#include "CTBcomplex.hxx"
Include dependency graph for CTBcomplex.cxx:
Go to the source code of this file.
Functions | |
template<class T> void | sincos (T &f_sin, T &f_cos, T f_x) |
template<class T> void | sinhcosh (T &f_sinh, T &f_cosh, T f_x) |
template<class T> void | sinhcosh_red (T &f_sinh, T &f_cosh, T f_x) |
Definition in file CTBcomplex.cxx.
|
helper, returns in f_sin and f_cos the sin and cos of x.
Definition at line 71 of file CTBcomplex.cxx. Referenced by CTBcomplex::Cos(), CTBcomplex::Cosh(), CTBcomplex::Exp(), CTBcomplex::Sin(), CTBcomplex::Sinh(), CTBcomplex::Tan(), and CTBcomplex::Tanh().
|
|
helper, returns in f_sinh and f_cosh the sinh and cosh of x.
Definition at line 82 of file CTBcomplex.cxx. Referenced by CTBcomplex::Cos(), CTBcomplex::Cosh(), CTBcomplex::Sin(), and CTBcomplex::Sinh().
|
|
helper, returns `reduced' sinh and cosh. Returns f_sinh and f_cosh the quantities sinh(x)/exp(abs(x)) and cosh(x)/exp(abs(x)) . They are useful if only the ratio of sinh and cosh is relevant, but not their absolute value. The returned quantities are representable over the full range of x. Definition at line 101 of file CTBcomplex.cxx. Referenced by CTBcomplex::Tan(), and CTBcomplex::Tanh().
|