[SciPy-dev] Definition of class multiarray

Robert Kern robert.kern at gmail.com
Fri Jun 26 15:30:47 EDT 2009


On Fri, Jun 26, 2009 at 13:45, David Goldsmith<d_l_goldsmith at 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