[SciPy-dev] Definition of class multiarray

Robert Kern robert.kern@gmail....
Fri Jun 26 14:30:47 CDT 2009


On Fri, Jun 26, 2009 at 13:45, David Goldsmith<d_l_goldsmith@yahoo.com> wrote:
>
> OK, tried to figure it out myself, but:
>
> Do ndarray.<method>s which have an "equivalent" numpy.<method> actually call the numpy method to operate on self?

Note that the latter are called functions, not methods. Where there is
an equivalence, the function calls the method, not vice versa. Take a
look at the source of numpy.std, for instance.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the Scipy-dev mailing list