Numerical Functions

Throughout Mathematica there is support not only for approximate real numbers, but also for exact numbers represented in algebraic or symbolic form. Functions like Floor, IntegerPart, and Max are all in effect set up to "prove theorems"—often using original algorithms developed at Wolfram Research—to give values with exact inputs.


Round ▪ Floor ▪ Ceiling ▪ IntegerPart ▪ FractionalPart

Min, Max minimum or maximum of numbers or lists

Abs absolute value

Sign sign (, , )

Clip clip to between and or other limits

Rescale rescale to run between and

Chop chop small values to

Unitize 0 for x0, and 1 otherwise

UnitStep 0 for , and 1 for

UnitBox ▪ UnitTriangle

Piecewise general piecewise function

Boole 1 for True, 0 for False

DiscreteIndicator indicator function for a discrete set

Less(<) ▪ Greater(>) ▪ LessEqual(<=) ▪ GreaterEqual (>=)

SquareWave ▪ TriangleWave ▪ SawtoothWave

Integer Functions »

IntegerQ test whether an expression is an integer

Mod ▪ Quotient ▪ GCD ▪ ...

New to Mathematica? Find your learning path »
Have a question? Ask support »