Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.13 cos() and cosh()

PrototypesHeader 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>

10.13.1 Description

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.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.