Function reference · Special functions

erfc

Computes the complementary error function 1-erf(x).

erfc reuses the error-function implementation and subtracts its result from 1. Numeric inputs therefore evaluate whenever erf does.

Examples

These examples use Nerdamer Notation.

Use erfc(0)=1.

erfc(0)
// → 1

Resolve a large positive argument to zero.

erfc(100)
// → 0

Interfaces

The same operation is available through the interfaces below.

Nerdamer Notation · nerdamer API · Direct API

Nerdamer Notation

Use this form inside input passed to nerdamer(...).

erfc(arg1)

nerdamer.erfc

Call the operation through the default nerdamer import.

nerdamer.erfc(x: Expression): Expression

Parameters

NameTypeDescription
xExpressionThe input expression.

Returns

Expression — The complementary error function value.

Browse the nerdamer API →

Direct JavaScript / TypeScript API

Import the operation directly from its package entry point.

import { erfc } from 'nerdamer/special';
erfc(x: Expression): Expression

Parameters

NameTypeDescription
xExpressionThe input expression.

Returns

Expression — The complementary error function value.

Browse nerdamer/special →

← Back to Function reference