[Numpy-discussion] Proposal for changing the names of inverse trigonometrical/hyperbolic functions

Robert Kern robert.kern at gmail.com
Mon Nov 24 20:05:56 EST 2008


On Mon, Nov 24, 2008 at 18:40, Chris Barker <Chris.Barker at noaa.gov> wrote:
> Matthew Brett wrote:
>> numpy.asum numpy.arange numpy.amax etc all have the intended meaning
>> of 'a-for-array-version-of-function'.   This obviously isn't the case
>> for 'acos'.
>
> actually, it is, isn't it? a version of math.cos that works for arrays?

No. Not at all. acos() and arccos() are the inverse functions of cos().

-- 
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 NumPy-Discussion mailing list