Nerdamer Notation

Function reference

These are the functions recognized inside expressions passed to nerdamer('...'). Open a function to see its syntax, parameters, examples, aliases, and its JavaScript / TypeScript counterpart when one is available.

Looking for programming features? Conditions, loops, local bindings, blocks, and return flow are documented separately under Nerdamer Scripting.

Algebra

Assumptions and sets

Calculus

Complex

Linear algebra

Math

abs(arg1)

Computes the absolute value of an expression.

cbrt(arg1)

Computes the cube root of an expression.

ceil(arg1)

Rounds a numeric expression up to the nearest integer.

ceiling(arg1)

Rounds a numeric expression up to the nearest integer.

contains(arg1, arg2)

Tests membership in a supported finite container.

count(arg1)

Returns the number of entries in a supported container.

delta(arg1)

Represents the Dirac delta distribution.

dfact(arg1)

Computes the double factorial of an expression.

erf(arg1)

Computes the error function.

erfc(arg1)

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

exp(arg1)

Computes the exponential function e raised to an expression.

expand(arg1)

Expands an expression algebraically.

fact(arg1)

Computes the factorial of an expression.

factorial(arg1)

Computes the factorial of an expression.

floor(arg1)

Rounds a numeric expression down to the nearest integer.

gamma(arg1)

Computes the gamma function.

heaviside(arg1)

Computes the Heaviside step function.

hypot(arg1, arg2)

Computes the Euclidean magnitude sqrt(x^2+y^2).

log(arg1, [arg2])

Computes the natural logarithm or a logarithm with an explicit base.

max(arg1, arg2, ...)

Returns the greatest value when the arguments can be ordered.

min(arg1, arg2, ...)

Returns the smallest value when the arguments can be ordered.

mod(arg1, arg2)

Computes the remainder modulo another expression for supported numeric inputs.

modinv(arg1, arg2)

Computes a modular multiplicative inverse.

nthroot(arg1, arg2)

Computes the nth root as a principal fractional power.

numeric(value[, precision])

Evaluates a numeric value to a finite number of significant decimal digits.

parens(arg1)

Wraps an expression in explicit parentheses for output.

round(arg1, [arg2])

Rounds a number to a requested number of decimal places.

sign(arg1)

Returns the sign of a real expression when it can be determined.

size(value)

Returns the dimensions of a structured parser value.

sqrt(arg1)

Computes the principal square root of an expression.

subst(arg1, arg2, arg3)

Substitutes one expression for another inside an expression tree.

trunc(arg1)

Truncates a numeric expression toward zero.

Polynomials

Solving

Special functions

Trigonometry