Open junchenfeng opened 7 years ago
a more general interface np.array([f(x) for x in self.x]) allows for function that is not necessary array friendly.
Can be fixed with a np.vectorize call, too.
np.vectorize
a more general interface np.array([f(x) for x in self.x]) allows for function that is not necessary array friendly.