Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Randall_W
Beginner
71 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
matthieu_darbois
New Contributor III
71 Views

Hi,

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

Regards,

Matthieu

Randall_W
Beginner
71 Views

Excellent. Thanks.
Reply