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.

System solving is documented in depth. The solveeqs reference includes underdetermined systems with free variables, exact nonlinear intersections, irrational and complex solutions, overdetermined systems, and numerical multivariate solving.
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.

continued_fraction(arg1, [arg2])

Returns a continued-fraction decomposition of a value.

count(arg1)

Returns the number of entries in a supported container.

degrees(arg1)

Converts an angle in radians to degrees exactly.

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.

log10(arg1)

Returns the base-10 logarithm of an expression.

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.

radians(arg1)

Converts an angle in degrees to radians exactly.

rect(arg1)

Computes a unit-width rectangular pulse centered at zero.

round(arg1, [arg2])

Rounds a number to a requested number of decimal places.

scientific(value[, significantDigits])

Formats numeric values in scientific notation while preserving the expression's mathematical value.

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.

step(arg1)

Computes the legacy unit step function.

subst(arg1, arg2, arg3)

Substitutes one expression for another inside an expression tree.

tri(arg1)

Computes a triangular pulse centered at zero.

trunc(arg1)

Truncates a numeric expression toward zero.

Polynomials

Solving

Special functions

Trigonometry