Operations on Numbers

Quotient and remainder, rounding numbers, real and imaginary components of complex numbers

MuPAD Functions

ceil Rounding up to the next integer
floor Rounding down to the next integer
conjugate Complex conjugation
frac Fractional part of a number
ground Ground term (constant coefficient) of a polynomial
Im Imaginary part of an arithmetical expression
max Maximum of numbers
min Minimum of numbers
misc::pslq Heuristic detection of relations between real numbers
numeric::complexRound Round a complex number towards the real or imaginary axis
numeric::rationalize Approximate a floating-point number by a rational number
Re Real part of an arithmetical expression
round Rounding to the nearest integer
trunc Rounding towards zero

Examples and How To

Was this topic helpful?