Computes the decimal logarithm of each element of a vector and multiplies it by 10.
IppStatus ipps10Log10_32s_Sfs(const Ipp32s* pSrc, Ipp32s* pDst, int len, int scaleFactor);
IppStatus ipps10Log10_32s_ISfs(Ipp32s* pSrcDst, int len, int scaleFactor);
pSrc |
Pointer to the source vector. |
pDst |
Pointer to the destination vector. |
pSrcDst |
Pointer to the source and destination vector for the in-place operation. |
len |
Number of elements in the vector |
scaleFactor |
Refer to Integer Scaling in Chapter 2. |
The function ipps10Log10 is declared in the ipps.h file. This function computes the decimal logarithm of each element of the vector pSrc, multiplies it by 10, and stores the result in pDstas given by
pDst[n] = 10*log10(pSrc[n]).
The in-place flavor of ipps10Log10 computes the decimal logarithm of each element of the vector pSrcDst, multiplies it by 10, and stores the result in pSrcDst as given by
pSrcDst[n] = 10*log10(pSrcDst[n]).
If the function ipps10Log10 encounters a zero or negative value in the input, it returns a warning status and continues execution with the corresponding result value (see Appendix A "Handling of Special Cases" for more information).
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pSrc, pDst, or pSrcDst 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. |
ippStsLnNegArg |
Indicates a warning for negative input vector elements. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.