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

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -