Prototypes | Header File(s) | |
template <class T> | ||
RWMathVec<T> |
cos(const RWMathVec<T>&) |
<rw/math/mathvec.h> |
RWMathVec<T> |
cosh(const RWMathVec<T>&) |
<rw/math/mathvec.h> |
RWGenMat<T> |
cos(const RWGenMat<T>&) |
<rw/math/genmat.h> |
RWGenMat<T> |
cosh(const RWGenMat<T>&) |
<rw/math/genmat.h> |
RWMathArray<T> |
cos(const RWMathArray<T>&) |
<rw/math/mtharray.h> |
RWMathArray<T> |
cosh(const RWMathArray<T>&) |
<rw/math/mtharray.h> |
The function cos() takes x as an argument and returns y such that yi = cos(xi). The xi are in radians. For complex arguments, the complex cosine is returned.
The function cosh() takes x as an argument and returns hyperbolic cosines y such that yi = cosh(xi). For complex arguments, the complex hyperbolic cosine is returned.