Hello
I have a vector : (v1,v2,v3,…,vn) = v
For which I have a function f(v_i) = out_i
Is there a simple and clean way to define F such that :
F(v) = (f(v_1),f(v_2),f(v_3),…,f(v_n)) ?
Without using for loops, possibly by parallelizing the computation? As each instance instance of the function f are independant from each other.
Thanks!