Jump to navigation
Is there a way to compute partial sums or adjacent differences with IPP?
Partial sum is:
DST= SRCDST[i]= SRC[i]+DST[i-1] for i > 0
Adjacent difference is (roughly) reverse operation:DST[i] = SRC[i]-SRC[i-1]
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?
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.