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

Robert Kern robert.kern@gmail....
Mon Nov 24 19:05:56 CST 2008


On Mon, Nov 24, 2008 at 18:40, Chris Barker <Chris.Barker@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