Home
last modified time | relevance | path

Searched refs:mpreal (Results 1 – 4 of 4) sorted by relevance

/external/eigen/unsupported/test/mpreal/
Dmpreal.h142 class mpreal {
153 mpreal();
154 mpreal(const mpreal& u);
155 mpreal(const mpf_t u);
156mpreal(const mpz_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode …
157mpreal(const mpq_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode …
158mpreal(const double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode …
159mpreal(const long double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode …
160mpreal(const unsigned long long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode …
161mpreal(const long long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode …
[all …]
/external/eigen/unsupported/Eigen/
DMPRealSupport16 #include <mpreal.h>
32 …* You can find a copy of MPFR C++ that is known to be compatible in the unsupported/test/mpreal fo…
45 mpreal::set_default_prec(256);
47 typedef Matrix<mpreal,Dynamic,Dynamic> MatrixXmp;
48 typedef Matrix<mpreal,Dynamic,1> VectorXmp;
62 template<> struct NumTraits<mpfr::mpreal>
63 : GenericNumTraits<mpfr::mpreal>
75 typedef mpfr::mpreal Real;
76 typedef mpfr::mpreal NonInteger;
78 …static inline Real highest (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::ma…
[all …]
/external/eigen/unsupported/test/
Dmpreal_support.cpp13 mpreal::set_default_prec(256); in test_mpreal_support()
14 typedef Matrix<mpreal,Eigen::Dynamic,Eigen::Dynamic> MatrixXmp; in test_mpreal_support()
15 typedef Matrix<std::complex<mpreal>,Eigen::Dynamic,Eigen::Dynamic> MatrixXcmp; in test_mpreal_support()
17 std::cerr << "epsilon = " << NumTraits<mpreal>::epsilon() << "\n"; in test_mpreal_support()
18 std::cerr << "dummy_precision = " << NumTraits<mpreal>::dummy_precision() << "\n"; in test_mpreal_support()
19 std::cerr << "highest = " << NumTraits<mpreal>::highest() << "\n"; in test_mpreal_support()
20 std::cerr << "lowest = " << NumTraits<mpreal>::lowest() << "\n"; in test_mpreal_support()
21 std::cerr << "digits10 = " << NumTraits<mpreal>::digits10() << "\n"; in test_mpreal_support()
56 ….isApprox(eig.eigenvectors() * eig.eigenvalues().asDiagonal(), NumTraits<mpreal>::dummy_precision(… in test_mpreal_support()
DCMakeLists.txt67 include_directories(${MPFR_INCLUDES} ./mpreal)