dxErf function

double dxErf(
  1. num x
)

Returns the first derivative of the error function.

Implementation

double dxErf(num x) => 2.0 * invSqrtPi * math.exp(-x * x);