|
LAL: Linear Arrangement Library 21.07.01
A library focused on algorithms on linear arrangements of graphs.
|
Numeric namespace. More...
Classes | |
| class | integer |
| Arbitrary precision integer. More... | |
| class | rational |
| Exact rational number. More... | |
Functions | |
| integer | integer_from_ui (uint64_t n) noexcept |
| Make an integer from a 64-bit unsigned integer value. | |
| std::ostream & | operator<< (std::ostream &os, const integer &i) |
| Standard output operator for the lal::numeric::integer class. | |
| rational | rational_from_ui (uint64_t n, uint64_t d=1) noexcept |
| Make a rational value from two 64-bit unsigned integers. | |
| std::ostream & | operator<< (std::ostream &os, const rational &r) |
| Standard output operator for the lal::numeric::rational class. | |
Numeric namespace.
This namespace contains the data structures that wrap the basic structures of the GMP library for integers of arbitrary precision (see lal::numeric::integer) and exact rational numbers (see lal::numeric::rational).
|
inlinenoexcept |
Make an integer from a 64-bit unsigned integer value.
| n | Unsigned integer (basic type) number. |