Sums natural logarithms of each element of a vector.
IppStatus ippsSumLn_32f(const Ipp32f* pSrc, int len, Ipp32f* pSum);
IppStatus ippsSumLn_64f(const Ipp64f* pSrc, int len, Ipp64f* pSum);
IppStatus ippsSumLn_32f64f(const Ipp32f* pSrc, int len, Ipp64f* pSum);
IppStatus ippsSumLn_16s32f(const Ipp16s* pSrc, int len, Ipp32f* pSum);
pSrc |
Pointer to the source vector. |
pSum |
Pointer to the output result. |
len |
Number of elements in the vector. |
The function ippsSumLn is declared in the ipps.h file. This function computes the sum of natural logarithms of each element of the vector pSrc and stores the result value in pSum. The summation is given by:
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pSrc or pSum pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
ippStsLnZeroArg |
Indicates a warning for zero-valued input vector elements. Operation execution is not aborted. The value of the destination vector element for floating-point operations is set to -Inf. |
ippStsLnNegArg |
Indicates a warning for negative input vector elements. Operation execution is not aborted. The value of the destination vector element for floating-point operations is set to NaN. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.