Closed BoundaryValueProblems closed 6 years ago
Note that erf(1.0)
will not work in Julia 0.6 and later without using SpecialFunctions
. The reason why Base.erf
works after loading SpecialFunctions is that the package overwrites the deprecation. That is, it extends Base.erf
to provide the methods that used to be defined in Base. When the deprecation is removed from Base, calling Base.erf
will no longer work, and instead the symbol is defined in the package rather than extending the symbol in Base. That's all implementation details though; as long as you've done using SpecialFunctions
, you can call erf
directly no matter what version of Julia you're using.
Thanks a lot for your explanation, @ararslan !! I'll close this issue then.
Hello. My understanding is that some of the special functions previously defined in Base have been moved to SpecialFunctions.jl. However, when I look at
erf
for example, all of the three executions:work (I'm using julia v0.6.1). Is
erf
defined both on Base and Specialfunctions.jl now, but will soon be only available in SpecialFunctions.jl? And which one is called if I simply executeerf(1.0)
? Or all of the above three lines call the same function so that I don't have to worry about? I would greatly appreciate it if you could explain what is the current status on some of the special functions. Happy Thanksgiving! BVPsPS: Of course, I know the following note (from the SpecialFunctions.jl document):