Link Search Menu Expand Document

errorFunction()

Compute error function by approximation

Import

import * as datacook from '@pipcook/datacook';
const { errorFunction } = datacook.Math;

Syntax

errorFunction(x: number): number 

Parameters

Parametertypedescription
xnumber$x$ of $erf(x)$