Searched refs:mpreal (Results 1 – 4 of 4) sorted by relevance
/external/eigen/unsupported/test/mpreal/ |
D | mpreal.h | 142 class mpreal { 153 mpreal(); 154 mpreal(const mpreal& u); 155 mpreal(const mpf_t u); 156 …mpreal(const mpz_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode … 157 …mpreal(const mpq_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode … 158 …mpreal(const double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode … 159 …mpreal(const long double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode … 160 …mpreal(const unsigned long long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode … 161 …mpreal(const long long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode … [all …]
|
/external/eigen/unsupported/Eigen/ |
D | MPRealSupport | 16 #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/ |
D | mpreal_support.cpp | 13 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()
|
D | CMakeLists.txt | 67 include_directories(${MPFR_INCLUDES} ./mpreal)
|