On Thu, 24 Apr 2008, Zachary Pincus wrote: > Python's built in pow() and exp() functions can't handle numpy arrays, and > thus try (and fail) to convert arrays to scalar values. You want to use > numpy.exp and numpy.power (or just the ** operator), to do these > operations to numpy arrays elementwise.
Zachary, Ah, now I understand! Thank you for the lessons, Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863 _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
