Nerdamer Notation

Function reference

Every function you can write inside nerdamer('...'). Each page shows how to call it in Notation and from JavaScript, its parameters, and examples.

Solving equations? solve solves one equation. solveeqs solves systems: linear and nonlinear, with free variables, complex solutions, more equations than unknowns, or numerically.
Looking for if, loops or let? They are in Scripting.

Algebra

Assumptions and sets

Calculus

Complex

Linear algebra

Math

abs(arg1)

Returns the absolute value of an expression.

append(arg1, arg2)

Returns a vector with one more element at the end.

binom(n, k)

Computes a binomial coefficient: the number of ways to choose `k` items from `n`.

cbrt(arg1)

Returns the cube root of an expression.

ceil(arg1)

Rounds a number up to the nearest integer.

ceiling(arg1)

Rounds a number up to the nearest integer.

contains(arg1, arg2)

Returns 1 if a vector, set, solution set or dictionary contains a value, and 0 otherwise.

continued_fraction(arg1, [arg2])

Returns the continued fraction of a number.

count(arg1)

Returns the number of entries in a vector, set, solution set or dictionary.

degrees(arg1)

Converts radians to degrees, exactly.

delta(arg1)

Returns the Dirac delta.

dfact(arg1)

Returns the double factorial, n·(n-2)·(n-4)·….

dfactorial(arg1)

Returns the double factorial, n·(n-2)·(n-4)·….

exp(arg1)

Returns e raised to a power.

expand(arg1)

Multiplies out products and powers into a sum of terms.

fact(arg1)

Returns the factorial, n!.

factorial(arg1)

Returns the factorial, n!.

floor(arg1)

Rounds a number down to the nearest integer.

heaviside(arg1)

Returns the Heaviside step: 0 for negative values, 1/2 at zero, and 1 for positive values.

hypot(arg1, arg2)

Returns the length of the vector (x, y): sqrt(x^2+y^2).

is_in(arg1, arg2)

Deprecated Use contains instead.

log(arg1, [arg2])

Returns the natural logarithm, or the logarithm in a given base.

log10(arg1)

Returns the base-10 logarithm of an expression.

max(arg1, arg2, ...)

Returns the largest of its arguments.

min(arg1, arg2, ...)

Returns the smallest of its arguments.

mod(arg1, arg2)

Returns the remainder of a division.

modinv(arg1, arg2)

Returns the inverse of a modulo m: the x for which a·x leaves remainder 1.

nthroot(arg1, arg2)

Returns the nth root, as the principal power `x^(1/n)`.

numeric(value[, precision])

Evaluates a number to a given number of significant digits.

parens(arg1)

Keeps parentheses around an expression in the output.

powmod(base, exponent, modulus)

Computes `base^exponent mod modulus` exactly, without computing the full power.

radians(arg1)

Converts degrees to radians, exactly.

rect(arg1)

Returns a rectangular pulse of width 1 centered at 0.

round(arg1, [arg2])

Rounds a number, to an integer or to a number of decimal places.

scientific(value[, significantDigits])

Writes a number in scientific notation.

sign(arg1)

Returns 1, -1 or 0: the sign of a real expression.

significant(arg1, arg2)

Rounds a number to a number of significant figures.

size(value)

Returns the dimensions of a vector, matrix, set or dictionary.

sqrt(arg1)

Returns the principal square root of an expression.

step(arg1)

Returns the unit step: 0 for negative values and 1 for zero and positive ones.

subst(arg1, arg2, arg3)

Replaces a variable or a subexpression with another expression.

tri(arg1)

Returns a triangular pulse centered at 0.

trunc(arg1)

Drops the fractional part of a number, rounding toward zero.

vars(expression)

Lists the variables in an expression.

Polynomials

Solving

Special functions

Statistics

Trigonometry

acos(arg1)

Returns the arccosine, in radians from 0 to π.

acosh(arg1)

Returns the inverse hyperbolic cosine.

acot(arg1)

Returns the inverse cotangent, in radians from 0 to π.

acoth(arg1)

Returns the inverse hyperbolic cotangent, atanh(1/x).

acsc(arg1)

Returns the inverse cosecant, asin(1/x).

acsch(arg1)

Returns the inverse hyperbolic cosecant, asinh(1/x).

arccos(arg1)

Returns the arccosine, in radians from 0 to π.

arccosh(arg1)

Returns the inverse hyperbolic cosine.

arccot(arg1)

Returns the inverse cotangent, in radians from 0 to π.

arccoth(arg1)

Returns the inverse hyperbolic cotangent, atanh(1/x).

arccsc(arg1)

Returns the inverse cosecant, asin(1/x).

arccsch(arg1)

Returns the inverse hyperbolic cosecant, asinh(1/x).

arcsec(arg1)

Returns the inverse secant, acos(1/x).

arcsech(arg1)

Returns the inverse hyperbolic secant, acosh(1/x).

arcsin(arg1)

Returns the arcsine, in radians from -π/2 to π/2.

arcsinh(arg1)

Returns the inverse hyperbolic sine.

arctan(arg1)

Returns the arctangent, in radians between -π/2 and π/2.

arctanh(arg1)

Returns the inverse hyperbolic tangent.

asec(arg1)

Returns the inverse secant, acos(1/x).

asech(arg1)

Returns the inverse hyperbolic secant, acosh(1/x).

asin(arg1)

Returns the arcsine, in radians from -π/2 to π/2.

asinh(arg1)

Returns the inverse hyperbolic sine.

atan(arg1)

Returns the arctangent, in radians between -π/2 and π/2.

atan2(arg1, arg2)

Returns the angle of the point (x, y), in radians from -π to π.

atanh(arg1)

Returns the inverse hyperbolic tangent.

cos(arg1)

Returns the cosine of an angle in radians.

cosh(arg1)

Returns the hyperbolic cosine.

cot(arg1)

Returns the cotangent, cos(x)/sin(x).

coth(arg1)

Returns the hyperbolic cotangent, 1/tanh(x).

csc(arg1)

Returns the cosecant, 1/sin(x).

csch(arg1)

Returns the hyperbolic cosecant, 1/sinh(x).

sec(arg1)

Returns the secant, 1/cos(x).

sech(arg1)

Returns the hyperbolic secant, 1/cosh(x).

sin(arg1)

Returns the sine of an angle in radians.

sinh(arg1)

Returns the hyperbolic sine.

tan(arg1)

Returns the tangent of an angle in radians.

tanh(arg1)

Returns the hyperbolic tangent.