Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
6 Views

how to use IPP for relational operations

Hi,

Apologies if this is a stupid newbie question, but there does not seem to be a way to do vectorized relational operations in IPP. e.g.

[cpp]res = x>0;[/cpp]

Am I missing something here? I can see the thresholding funcitons, but I don't want to set a threshold, I just want the boolean result: x > 0

Thanks for any suggestions.

-Randall.

0 Kudos
2 Replies
Highlighted
New Contributor III
6 Views

Hi,

You can use the "ippiCompareC_" function which will do exactly what you want.

Regards,

Matthieu

0 Kudos
Highlighted
Beginner
6 Views

Excellent. Thanks.
0 Kudos