How to use the erf function from mathjs
Find comprehensive JavaScript mathjs.erf code examples handpicked from public code repositorys.
36 37 38 39 40 41 42 43 44 45
return R[n][n]; } exports.erfc = function(x){ // Complementary Error Function return 1 - math.erf(x); }; exports.igamc = function(a, x){ // Complemented Incomplete Gamma Function
GitHub: brin-eris/basic-bots

196 197 198 199 200 201 202 203 204 205
} let atanh = function(x){ return Mathjs.atanh(x); } let erf = function(x){ return Mathjs.erf(x); } let functions = [atan, square, minus, cube, erf, sin, cos, sigmoidSuck, gausSuck, gausMoarSuck]; return functions
+ 7 other calls in file
mathjs.evaluate is the most popular function in mathjs (87200 examples)