errorFunction()
Compute error function by approximation
Import
import * as datacook from '@pipcook/datacook';
const { errorFunction } = datacook.Math;
Syntax
errorFunction(x: number): number
Parameters
Parameter | type | description |
---|
x | number | $x$ of $erf(x)$ |