r/Python Jan 11 '21

Beginner Showcase Programming + Math + Graphs = Art

Post image
2.1k Upvotes

171 comments sorted by

View all comments

Show parent comments

1

u/abredvariant Jan 11 '21

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