# Elementary functions

Powers, roots, exponentials and logarithms, absolute value, rounding, factorials and binomial coefficients, greatest common divisors, and the largest or smallest of some numbers.

34 functions

## Described functions

- [gcd](https://hilberon.com/library/gcd)

  Greatest common divisor of whole numbers.
- [sqrt](https://hilberon.com/library/sqrt)

  Square root; sqrt(x) is the power x^(1/2).
- [exp](https://hilberon.com/library/exp)

  Exponential function; exp(x) is the power e^x.
- [log](https://hilberon.com/library/log)

  Logarithm: natural with ln, or to any base with log.
- [abs](https://hilberon.com/library/abs)

  Absolute value of a number, or modulus of a complex one.
- [binomial](https://hilberon.com/library/binomial)

  Binomial coefficient: the ways to choose k items out of n.
- [ceil](https://hilberon.com/library/ceil)

  Least whole number not below a number.
- [factorial](https://hilberon.com/library/factorial)

  Factorial: n! is the product of the whole numbers from 1 to n.
- [floor](https://hilberon.com/library/floor)

  Greatest whole number not above a number.
- [lcm](https://hilberon.com/library/lcm)

  Least common multiple of whole numbers.
- [max](https://hilberon.com/library/max)

  The largest of some numbers.
- [min](https://hilberon.com/library/min)

  The smallest of some numbers.
- [mod](https://hilberon.com/library/mod)

  Remainder of a division of whole numbers.
- [round](https://hilberon.com/library/round)

  Nearest whole number, with halves rounded away from zero.
- [sign](https://hilberon.com/library/sign)

  Sign of a number: -1, 0 or 1.
- [arg](https://hilberon.com/library/arg)

  Argument of a complex number: its angle in radians.
- [conj](https://hilberon.com/library/conj)

  Complex conjugate.
- [divide](https://hilberon.com/library/divide)

  A quotient: the function form of /.
- [double_factorial](https://hilberon.com/library/double_factorial)

  Double factorial: n!! multiplies every second number down from n.
- [frac](https://hilberon.com/library/frac)

  Fractional part of a number.
- [im](https://hilberon.com/library/im)

  Imaginary part of a complex number.
- [log10](https://hilberon.com/library/log10)

  Logarithm to base 10.
- [log2](https://hilberon.com/library/log2)

  Logarithm to base 2.
- [negate](https://hilberon.com/library/negate)

  The negative of a number: the function form of a minus sign.
- [plus](https://hilberon.com/library/plus)

  Sum of numbers: the function form of +.
- [power](https://hilberon.com/library/power)

  A power: the function form of ^.
- [quotient](https://hilberon.com/library/quotient)

  Whole-number quotient of a division, without the remainder.
- [re](https://hilberon.com/library/re)

  Real part of a complex number.
- [subtract](https://hilberon.com/library/subtract)

  A difference: the function form of -.
- [times](https://hilberon.com/library/times)

  Product of numbers: the function form of \*.
- [trunc](https://hilberon.com/library/trunc)

  A number with its fractional part cut off.

## More functions in this category

Nobody has described these yet: each is listed with its first form.

- [cbrt](https://hilberon.com/library/cbrt)
- [clip](https://hilberon.com/library/clip)
- [directed_infinity](https://hilberon.com/library/directed_infinity)

## Other categories

- [Abstract algebra](https://hilberon.com/library/category/abstract-algebra) 55
- [Algebra](https://hilberon.com/library/category/algebra) 52
- [Assumptions](https://hilberon.com/library/category/assumptions) 10
- [Calculus](https://hilberon.com/library/category/calculus) 21
- [Differential and difference equations](https://hilberon.com/library/category/differential-and-difference-equations) 187
- [Equation solving](https://hilberon.com/library/category/equation-solving) 15
- [Linear algebra](https://hilberon.com/library/category/linear-algebra) 44
- [Lists](https://hilberon.com/library/category/lists) 52
- [Logic and comparison](https://hilberon.com/library/category/logic-and-comparison) 45
- [Number theory](https://hilberon.com/library/category/number-theory) 53
- [Numerical computation](https://hilberon.com/library/category/numerical-computation) 5
- [Optimization](https://hilberon.com/library/category/optimization) 6
- [Presentation](https://hilberon.com/library/category/presentation) 7
- [Probability and stochastic processes](https://hilberon.com/library/category/probability-and-stochastic-processes) 73
- [Programming](https://hilberon.com/library/category/programming) 43
- [Series and sums](https://hilberon.com/library/category/series-and-sums) 17
- [Special functions](https://hilberon.com/library/category/special-functions) 95
- [Strings](https://hilberon.com/library/category/strings) 4
- [Transforms](https://hilberon.com/library/category/transforms) 15
- [Trigonometry](https://hilberon.com/library/category/trigonometry) 28

---
Source: https://hilberon.com/library/category/elementary-functions
