Re: [sympy] Naming Inverse error Functions

109 views
Skip to first unread message

someone

unread,
Dec 30, 2012, 1:54:44 PM12/30/12
to sy...@googlegroups.com
Hi,


> I am presently implementing Inverse erf
> functions<http://functions.wolfram.com/GammaBetaErf/>in
> functions/special/error_functions.py like InverseErf[x],
> InverseErf[x, y], InverseErfc[x]. I am a little confused about how I
> should name their respective classes. I want to name the classes to
> be Ierf, Ierf2, Ierfc. Is it okay to name like this ? Or is there any
> convention which has been followed for similar kind of issues at some
> other places in sympy which I can follow here also ? Or should I
> follow the Mathematica's naming Convention ?

Here some input on the topic.


MMA:

http://reference.wolfram.com/mathematica/tutorial/SpecialFunctions.html#3426


Maple:

http://www.maplesoft.com/support/help/Maple/view.aspx?path=erf
http://www.mapleprimes.com/questions/35549-Weirdness-With-The-Inverse-Erf-Function

"As I understand it, Maple has an "erf" function, but not an inverse erf."


Maxima:

http://www.ma.utexas.edu/pipermail/maxima/2009/017196.html

The functions seem not to be in the manual:
http://maxima.sourceforge.net/docs/manual/en/maxima_15.html#SEC77
http://maxima.sourceforge.net/docs/manual/en/maxima_15.html#SEC83


Sage:

http://trac.sagemath.org/sage_trac/ticket/11349


mpmath:

http://mpmath.googlecode.com/svn/trunk/doc/build/functions/expintegrals.html#erfinv


numpy/scipy:

http://www.scipy.org/SciPyPackages/Special


matlab:

http://www.mathworks.ch/ch/help/matlab/ref/erfinv.html

Aaron Meurer

unread,
Dec 31, 2012, 2:32:12 PM12/31/12
to sy...@googlegroups.com
If mpmath and/or Numpy/scipy have a function, you should use their
naming conventions. What is the PR for this?

Aaron Meurer

>
>
> matlab:
>
> http://www.mathworks.ch/ch/help/matlab/ref/erfinv.html
>
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>

Ramana Venkata

unread,
Dec 31, 2012, 10:40:40 PM12/31/12
to sy...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages