[Numpy-discussion] Using normal()
Rich Shepard
rshepard at appl-ecosys.com
Thu Apr 24 14:40:11 EDT 2008
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
More information about the NumPy-Discussion
mailing list