Special function using Apache Common Math
Source code name: "func_erf.py"
Programming language: Python
Topic: Function/Special
DMelt Version 1.4. Last modified: 02/22/2017. License: Free
https://datamelt.org/code/cache/func_erf_1707.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


from  jhplot import *
from org.apache.commons.math3.special.Erf import *

class MyFunc(FNon):
      def value(self, x):
                return 1-erf(x[0])
c1 = HPlot()
c1.visible();   c1.setAutoRange()
pl = MyFunc("function",1,0)
f1=F1D(pl,-4,4)
c1.draw(f1)