As discussed in "Exact and Approximate Results", Mathematica can handle approximate real numbers with any number of digits. In general, the precision of an approximate real ...
QuotientRemainder[m, n] gives a list of the quotient and remainder from division of m by n.
Mathematica has been used to make many important discoveries in discrete mathematics over the past two decades. Its integration of highly efficient and often original ...
DiscreteUniformDistribution[{i_min, i_max}] represents a discrete uniform distribution over the integers from i_min to i_max.DiscreteUniformDistribution[{{i_min, i_max}, ...
Converting between strings and lists of characters. This gives a list of the characters in the string. You can apply standard list manipulation operations to this list.
Mathematica's extensive base of state-of-the-art algorithms, efficient handling of very long integers, and powerful built-in language make it uniquely suited to both research ...
Expressions are the main type of data in Mathematica. Expressions can be written in the form h[e_1,e_2,…]. The object h is known generically as the head of the expression. ...
Floor
(Built-in Mathematica Symbol) Floor[x] gives the greatest integer less than or equal to x. Floor[x, a] gives the greatest multiple of a less than or equal to x.
Ceiling
(Built-in Mathematica Symbol) Ceiling[x] gives the smallest integer greater than or equal to x. Ceiling[x, a] gives the smallest multiple of a greater than or equal to x.
LinearProgramming[c, m, b] finds a vector x that minimizes the quantity c.x subject to the constraints m.x >= b and x >= 0. LinearProgramming[c, m, {{b_1, s_1}, {b_2, s_2}, ...