Closed HannesWell closed 2 years ago
The Symja functions names are compatible with the Mathematica function names.
For example:
For this reason the general renaming should be avoided.
There are however already existing aliases which could be extended:
OK, understand that. Since we use Symja directly from code and not via the notebooks the aliases do not affect us (or am I wrong with the assumtion that they are only considered by the parser). If the notebook language is intended to be Mathematica compatible it could be done the other way round: Name the methods and classes like the usual convention and add aliases for the Mathematica names.
However this is just cosmetic and has no functional advantage because the intention of the methods is clear how they are, even it is not the usual (at least what Wikipedia says) mathematical convention.
Yes the aliases are used in the parsers.
More often than not, in code, the prefix for these is just a-
.
More often than not, in code, the prefix for these is just
a-
.
Yes the ALIASES_STRINGS are named like this
Describe the bug
Unlike the inverse of ordinary trigonometric functions (like
sin
,cos
, ...) that are usually called arcus functions the inverse functions of the hyperbolic functions (likesinh
,cosh
, ...) are usually called area functions.Therefore the mathematical symbol is usually the name of the corresponding hyperbolic function prefixed with
ar-
, for trigonometric functions it is usuallyarc-
. Unfortunately Symja also uses thearc-
prefix for the inverse hyperbolic functions which does not comply with the usual mathematical notation. The Symbols in classS
, the corresponding factory methods in classF
and the evaluator classes inExpTrigsFunctions
should be renamed the following way:ArcSinh
->ArSinh
ArcCosh
->ArCosh
ArcTanh
->ArTanh
ArcCoth
->ArCoth
ArcSech
->ArSech
ArcCsch
->ArCsch
I hope I did not forget any location.