objective c - Is there a vDSP function to do the following operation? -


sorry if obvious. i'm getting accelerate framework , trying go beyond simple stuff. i'm staring down vdsp reference i'm not sure how following phrased or might called in technical lingo. want following operation - what's best way vdsp? i'm having trouble finding it. (in pseudocode, i 0 n:)

o[i]= + b * (sum of vector 0 i) 

thanks!

to clarify: these both vectors of floats , speed critical.

it turns out equivalent to:

vdsp_vrsum(i, 1, &b, o, 1, n); vdsp_vsadd(o, 1, &a, o, 1, n); 

Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -