Open kelvinwop opened 6 years ago
say you've got a NumPy array [1,2,3...] and a function func(x)
so you do: vecfunc=numpy.vectorize(func) and then use the power of vectorization to: vecfunc(x)
how would you hack this together?
say you've got a NumPy array [1,2,3...] and a function func(x)
so you do: vecfunc=numpy.vectorize(func) and then use the power of vectorization to: vecfunc(x)
how would you hack this together?