|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Extensions to the Boost.Multiprecision library. More...
#include <boost/multiprecision/mpfr.hpp>#include <boost/random.hpp>#include <boost/archive/text_oarchive.hpp>#include <boost/archive/text_iarchive.hpp>#include <boost/serialization/split_member.hpp>#include <string>#include "bertini2/double_extensions.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bertini |
| namespace | boost |
| namespace | boost::serialization |
Typedefs | |
| using | bertini::real_mp = boost::multiprecision::number<boost::multiprecision::mpfr_float_backend<0>, boost::multiprecision::et_on> |
| The arbitrary-precision real number type. | |
| using | bertini::mpz_int = boost::multiprecision::number<boost::multiprecision::backends::gmp_int, boost::multiprecision::et_on> |
| The arbitrary-precision integer type. | |
| using | bertini::mpq_rational = boost::multiprecision::number<boost::multiprecision::backends::gmp_rational, boost::multiprecision::et_on> |
| The exact rational number type. | |
Functions | |
| auto | bertini::Precision (real_mp const &num) |
| Get the precision of a real number. | |
| void | bertini::Precision (real_mp &num, unsigned prec) |
| Change the precision of a real number. | |
| template<typename T> | |
| T | bertini::max (T const &a, T const &b, T const &c) |
| Three-argument form of max. | |
| template<typename T> | |
| T | bertini::max (T const &a, T const &b, T const &c, T const &d) |
| Four-argument form of max. | |
| template<typename T> | |
| T | bertini::max (T const &a, T const &b, T const &c, T const &d, T const &e) |
| Five-argument form of max. | |
| template<typename Archive> | |
| void | boost::serialization::save (Archive &ar, ::boost::multiprecision::backends::mpfr_float_backend< 0 > const &r, unsigned) |
| Save a real_mp type to a boost archive. | |
| template<typename Archive> | |
| void | boost::serialization::load (Archive &ar, ::boost::multiprecision::backends::mpfr_float_backend< 0 > &r, unsigned) |
| Load a real_mp type from a boost archive. | |
| template<typename Archive> | |
| void | boost::serialization::save (Archive &ar, ::boost::multiprecision::backends::gmp_rational const &r, unsigned) |
| Save a gmp_rational type to a boost archive. | |
| template<typename Archive> | |
| void | boost::serialization::load (Archive &ar, ::boost::multiprecision::backends::gmp_rational &r, unsigned) |
| Load a gmp_rational type from a boost archive. | |
| template<typename Archive> | |
| void | boost::serialization::save (Archive &ar, ::boost::multiprecision::backends::gmp_int const &r, unsigned) |
| Save a gmp_int type to a boost archive. | |
| template<typename Archive> | |
| void | boost::serialization::load (Archive &ar, ::boost::multiprecision::backends::gmp_int &r, unsigned) |
| Load a gmp_int type from a boost archive. | |
Extensions to the Boost.Multiprecision library.
Particularly includes Boost.Serialize code for the real_mp, gmp_rational, and gmp_int types.