Prototypes | Header File(s) | |
template <class T> | ||
RWMathVec<T> |
log(const RWMathVec<T>&) |
<rw/math/mathvec.h> |
RWGenMat<T> |
log(const RWGenMat<T>&) |
<rw/math/genmat.h> |
RWMathArray<T> |
log(const RWMathArray<T>&) |
<rw/math/mtharray.h> |
Takes x as an argument and returns natural logarithms y such that yi = log(xi). The arguments xi must not be 0. For complex arguments, the principal value of the complex natural logarithm is returned.