Function reference

NiceNumbers.niceFunction
nice(x)

If x is an expression it replaces all occuring numbers by NiceNumbers.

If x is a number it turns it into a NiceNumber.

If x is the symbol :im it turns it into NiceNumber(im).

Otherwise it does nothing.

source

Miscellaneous Helper Functions

NiceNumbers.reduce_rootFunction
reduce_root(coeff, radicand)

Simplifies the expression $\textrm{coeff}\cdot\sqrt{\textrm{radicand}}$ by factoring all remaining squares in radicand into coeff.

source
NiceNumbers.nthrootFunction
nthroot(m::NiceNumber, n)

Returns the nth root of m. Works by repeatedly determining the square root and thus only for powers of two.

source

Index