[Numpy-discussion] Proposal for changing the names of inverse trigonometrical/hyperbolic functions
Mon Nov 24 12:45:56 CST 2008
After dealing with another issue, I realized that the names of inverse
trigonometrical/hyperbolic functions in NumPy don't follow the main
standards in computer science. For example, where Python writes:
asin, acos, atan, asinh, acosh, atanh
arcsin, arccos, arctan, arcsinh, arccosh, arctanh
And not only Python, the former also seems to be the standard in
computer science. Quoting:
The usual abbreviations for them in mathematics are arsinh, arcsinh (in
the USA) or asinh (in computer science).
The acronyms arcsinh, arccosh etc. are commonly used, even though they
are misnomers, since the prefix arc is the abbreviation for arcus,
while the prefix ar stands for area.
So, IMHO, I think it would be better to rename the inverse trigonometric
functions from ``arc*`` to ``a*`` prefix. Of course, in order to do
that correctly, one should add the new names and add a
``DeprecationWarning`` informing that people should start to use the
new names. After two or three NumPy versions, the old function names
can be removed safely.
What people think?
More information about the Numpy-discussion