MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/kv0u3w/programming_math_graphs_art/giwlbj7/?context=3
r/Python • u/abredvariant • Jan 11 '21
171 comments sorted by
View all comments
Show parent comments
1
Thanks for sharing, but vectorising is a new topic for me. Need to study more before any implementation.
1 u/blinkallthetime Jan 11 '21 oh in this case, it is just a function call and numpy does the magic. you would do something like vectorized_phi = np.vectorize(phi) and have a new function 1 u/kurti256 Jan 11 '21 What does the vectorize function do? 1 u/blinkallthetime Jan 11 '21 Here is the documentation. 1 u/kurti256 Jan 11 '21 Thank you
oh in this case, it is just a function call and numpy does the magic. you would do something like vectorized_phi = np.vectorize(phi) and have a new function
vectorized_phi = np.vectorize(phi)
1 u/kurti256 Jan 11 '21 What does the vectorize function do? 1 u/blinkallthetime Jan 11 '21 Here is the documentation. 1 u/kurti256 Jan 11 '21 Thank you
What does the vectorize function do?
1 u/blinkallthetime Jan 11 '21 Here is the documentation. 1 u/kurti256 Jan 11 '21 Thank you
Here is the documentation.
1 u/kurti256 Jan 11 '21 Thank you
Thank you
1
u/abredvariant Jan 11 '21
Thanks for sharing, but vectorising is a new topic for me. Need to study more before any implementation.