[Numpy-discussion] Using normal()

Rich Shepard rshepard@appl-ecosys....
Thu Apr 24 13:40:11 CDT 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