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
Post a Comment