Divi

Divides two vectors.

Syntax

IppStatus ipprDiv_32f_C1IM(const Ipp32f* pSrc, const Ipp32s* pMask, Ipp32f* pSrcDst, int len);

Parameters

pSrc

Pointer to the source vector.

pSrcDst

Pointer to the source and destionation vector.

pMask

Pointer to the array of masks.

len

Number of of rays.

Description

The function ipprDiv is declared in the ippr.h file. This function divides each i-th element of the vector pSrcDst by the corresponding element of the source vector pSrc in points where the mask pMask[i] is greater than or equal to 0. The result is stored in the pSrcDst.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.