Partial sum/adjacent difference with IPP

Partial sum/adjacent difference with IPP

Is there a way to compute partial sums or adjacent differences with IPP?

Partial sum is:

DST[0]= SRC[0]
DST[i]= SRC[i]+DST[i-1] for i > 0

Adjacent difference is (roughly) reverse operation:
DST[i] = SRC[i]-SRC[i-1]

4 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Hi,

No, we do not provide such operations, at least for now. So,you can submityour requeston Premier service. By the way, where do you think they would be useful?

Regards,
Vladimir

I use partial_sum to compute vertex positions along polygon's perimeter based on known edge lengths.
These functions are part of C++ STL so I guess there is a lot of other applications.

If you feel such functionality useful, please submit your request on Premier site.

Regards,
Vladimir

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui