Prototypes | Header File(s) | |
template <class T> | ||
RWMathVec<T> |
sqrt(const RWMathVec<T>&) |
<rw/math/mathvec.h> |
RWGenMat<T> |
sqrt(const RWGenMat<T>&) |
<rw/math/genmat.h> |
RWMathArray<T> |
sqrt(const RWMathArray<T>&) |
<rw/math/mtharray.h> |
The square root function. Takes x as an argument and returns y such that yi = (xi)1/2. For complex classes, the principal value of the complex square root is returned.