Visible to Intel only — GUID: GUID-9E68D391-66B3-46E1-BAF8-FB46D148CEDB
Visible to Intel only — GUID: GUID-9E68D391-66B3-46E1-BAF8-FB46D148CEDB
CountInRange
Computes the number of elements of the vector whose values are in the specified range.
Syntax
IppStatus ippsCountInRange_32s(const Ipp32s* pSrc, int len, int* pCounts, Ipp32s lowerBound, Ipp32s upperBound);
Include Files
ipps.h
Domain Dependencies
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
Parameters
pSrc |
Pointer to the first input vector. |
pCounts |
Pointer to the second input vector which stores the result. |
len |
Number of elements in the vector. |
lowerBound |
Lower boundary of the range. |
upperBound |
Upper boundary of the range. |
Description
This function computes the number of elements of the vector pSrc whose values are in the range lowerBound < pSrc[n] < upperBound. The total number of such elements are stored in the pCounts.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pSrc or pSCounts pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |