Multiplies two source vectors and adds product to the accumulator.
IppStatus ipprAddMulMul_32f_AC1P3IM(IppPoint3D_32f point, const Ipp32f* pSrc0, const Ipp32f* const pSrc1[3], const Ipp32s* pMask, Ipp32f* pSrcDst[3], int len);
point |
Source point. |
pSrc0 |
Pointer to the first source array. |
pSrc1 |
Pointer to the array of pointers to separate coordinate (x, y, z) planes of the second source points. |
pSrcDst |
Pointer to the array of pointers to separate coordinate (x, y, z) planes of the accumulator array. |
pMask |
Pointer to the array of masks. |
len |
Number of of rays. |
The function ipprAddMulMul is declared in the ippr.h file. This function multiplies the elements of source vectors pSrc0 and pSrc1, and stores results in the accumulator pSrcDst in accordance with the following formulas:
pSrcDst [0][n] += pSrc1[0][ n] * pSrc0[n] * point[0],
pSrcDst [1][n] += pSrc1[1][ n] * pSrc0[n] * point[1],
pSrcDst [2][n] += pSrc1[2][ n] * pSrc0[n] * point[2],
where n = 0, 1, 2,.. len -1.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.