Home
last modified time | relevance | path

Searched refs:Real (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/eigen/test/
Dboostmultiprec.cpp72 typedef mp::number<mp::cpp_dec_float<100>, mp::et_on> Real; typedef
75 template<> struct NumTraits<Real> : GenericNumTraits<Real> {
76 static inline Real dummy_precision() { return 1e-50; } in dummy_precision()
80 struct NumTraits<boost::multiprecision::detail::expression<T1,T2,T3,T4,T5> > : NumTraits<Real> {};
83 Real test_precision<Real>() { return 1e-50; } in test_precision()
88 struct cast_impl<Real,NewType> {
89 static inline NewType run(const Real& x) { in run()
95 struct cast_impl<Real,std::complex<Real> > {
96 static inline std::complex<Real> run(const Real& x) { in run()
97 return std::complex<Real>(x); in run()
[all …]
Dnumext.cpp14 typedef typename NumTraits<T>::Real Real; in check_abs() typedef
25 x = x/Real(2); in check_abs()
29 VERIFY( numext::abs(-x) >= Real(0)); in check_abs()
31 VERIFY( numext::abs(x) >= Real(0)); in check_abs()
Dmain.h305 template<typename T> inline typename NumTraits<T>::Real test_precision() { return NumTraits<T>::dum… in test_precision()
450 …1>::Real>::NonInteger test_relative_error(const T1 &a, const T2 &b, typename internal::enable_if<i…
452 typedef typename NumTraits<typename NumTraits<T1>::Real>::NonInteger RealScalar;
476 typename NumTraits<typename T::Scalar>::Real get_test_precision(const T&, const typename T::Scalar*…
478 return test_precision<typename NumTraits<typename T::Scalar>::Real>();
482 …ename NumTraits<T>::Real get_test_precision(const T&,typename internal::enable_if<internal::is_ari…
484 return test_precision<typename NumTraits<T>::Real>();
521 … const typename NumTraits<typename internal::traits<Derived>::Scalar>::Real& s) in test_isMuchSmallerThan()
/external/eigen/Eigen/src/Core/
DNumTraits.h33 typedef typename NumTraits<T>::Real Real;
34 return int(ceil(-log10(NumTraits<Real>::epsilon())));
100 typedef T Real;
110 static inline Real epsilon()
122 static inline Real dummy_precision()
125 return Real(0);
175 typedef _Real Real;
181 AddCost = 2 * NumTraits<Real>::AddCost,
182 MulCost = 4 * NumTraits<Real>::MulCost + 2 * NumTraits<Real>::AddCost
186 static inline Real epsilon() { return NumTraits<Real>::epsilon(); }
[all …]
DMathFunctions.h78 typedef typename NumTraits<Scalar>::Real RealScalar;
89 typedef typename NumTraits<Scalar>::Real RealScalar;
116 typedef typename NumTraits<Scalar>::Real type;
126 typedef typename NumTraits<Scalar>::Real RealScalar;
137 typedef typename NumTraits<Scalar>::Real RealScalar;
164 typedef typename NumTraits<Scalar>::Real type;
174 typedef typename NumTraits<Scalar>::Real RealScalar;
190 typedef typename NumTraits<Scalar>::Real & type;
200 typedef typename NumTraits<Scalar>::Real RealScalar;
234 typedef typename NumTraits<Scalar>::Real & type;
[all …]
DDot.h93 EIGEN_STRONG_INLINE typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase…
105 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::no…
203 typedef typename NumTraits<typename traits<Derived>::Scalar>::Real RealScalar;
216 …static inline typename NumTraits<typename traits<Derived>::Scalar>::Real run(const MatrixBase<Deri…
226 …static inline typename NumTraits<typename traits<Derived>::Scalar>::Real run(const MatrixBase<Deri…
235 typedef typename NumTraits<typename traits<Derived>::Scalar>::Real RealScalar;
260 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
DStableNorm.h54 inline typename NumTraits<typename traits<Derived>::Scalar>::Real
156 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
201 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
213 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
/external/eigen/unsupported/Eigen/src/Polynomials/
DPolynomialUtils.h48 typedef typename NumTraits<T>::Real Real; in poly_eval() typedef
50 if( numext::abs2( x ) <= Real(1) ){ in poly_eval()
75 typename NumTraits<typename Polynomial::Scalar>::Real cauchy_max_bound( const Polynomial& poly ) in cauchy_max_bound()
79 typedef typename NumTraits<Scalar>::Real Real; in cauchy_max_bound() typedef
83 Real cb(0); in cauchy_max_bound()
87 return cb + Real(1); in cauchy_max_bound()
98 typename NumTraits<typename Polynomial::Scalar>::Real cauchy_min_bound( const Polynomial& poly ) in cauchy_min_bound()
102 typedef typename NumTraits<Scalar>::Real Real; in cauchy_min_bound() typedef
107 return Real(1); } in cauchy_min_bound()
110 Real cb(1); in cauchy_min_bound()
[all …]
/external/eigen/unsupported/Eigen/
DMPRealSupport75 typedef mpfr::mpreal Real;
78 …static inline Real highest (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::ma…
79 …static inline Real lowest (long Precision = mpfr::mpreal::get_default_prec()) { return -mpfr::ma…
82 …static inline Real Pi (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
83 …static inline Real Euler (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
84 …static inline Real Log2 (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
85 …static inline Real Catalan (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
87 …static inline Real epsilon (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::mac…
88 …static inline Real epsilon (const Real& x) { return mpfr::mac…
91 …ecision = mpfr::mpreal::get_default_prec()) { return std::numeric_limits<Real>::digits10(Precisio…
[all …]
/external/eigen/unsupported/Eigen/src/AutoDiff/
DAutoDiffScalar.h70 …ts<typename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar>::Real>::value>
75 …ename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar>::Real>::value> Base;
78 typedef typename NumTraits<Scalar>::Real Real; typedef
96 /*explicit*/ AutoDiffScalar(const Real& value) in AutoDiffScalar()
392 typedef typename NumTraits<Scalar>::Real Real;
408 inline const AutoDiffScalar<DerType&> operator+(const Real& other) const
413 …friend inline const AutoDiffScalar<DerType&> operator+(const Real& a, const AutoDiffScalar<_DerTyp…
418 inline AutoDiffScalar<_DerType>& operator+=(const Real& other)
425 …inline const AutoDiffScalar<typename CwiseUnaryOp<bind2nd_op<scalar_product_op<Scalar,Real> >, Der…
426 operator*(const Real& other) const
[all …]
/external/python/cpython2/Doc/library/
Dnumbers.rst5 :synopsis: Numeric abstract base classes (Complex, Real, Integral, etc.).
45 .. class:: Real
47 To :class:`Complex`, :class:`Real` adds the operations that work on real
54 Real also provides defaults for :func:`complex`, :attr:`~Complex.real`,
60 Subtypes :class:`Real` and adds
109 :class:`Real` with::
112 MyFoo.register(Real)
141 elif isinstance(other, Real):
174 If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge,
201 elif isinstance(a, numbers.Real):
/external/icu/icu4c/source/data/curr/
Dwae.txt7 "Brasilianiši Real",
44 one{"Brasilianišä Real"}
45 other{"Brasilianiši Real"}
/external/python/cpython2/Lib/test/
Dtest_abstract_numbers.py5 from numbers import Complex, Real, Rational, Integral
31 self.assertTrue(issubclass(float, Real))
38 self.assertFalse(issubclass(complex, Real))
/external/clang/test/SemaTemplate/
Dqualified-names-diag.cpp13 typedef float Real; typedef
19 vector<Real> v2; in test()
/external/eigen/demos/mandelbrot/
Dmandelbrot.cpp31 template<typename Real> void MandelbrotThread::render(int img_width, int img_height) in render()
33 enum { packetSize = Eigen::internal::packet_traits<Real>::size }; // number of reals in a Packet in render()
34 typedef Eigen::Array<Real, packetSize, 1> Packet; // wrap a Packet as a vector in render()
36 enum { iters_before_test = iters_before_test<Real>::ret }; in render()
43 typedef Eigen::Array<Real, 2, 1> Vector2; in render()
/external/clang/include/clang/AST/
DAPValue.h72 APSInt Real, Imag; member
73 ComplexAPSInt() : Real(1), Imag(1) {} in ComplexAPSInt()
76 APFloat Real, Imag; member
77 ComplexAPFloat() : Real(0.0), Imag(0.0) {} in ComplexAPFloat()
218 return ((ComplexAPSInt*)(char*)Data.buffer)->Real; in getComplexIntReal()
234 return ((ComplexAPFloat*)(char*)Data.buffer)->Real; in getComplexFloatReal()
366 ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R); in setComplexInt()
373 ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R); in setComplexFloat()
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixExponential.h68 typedef typename NumTraits<typename traits<MatA>::Scalar>::Real RealScalar; in matrix_exp_pade3()
85 typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar; in matrix_exp_pade5()
103 typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar; in matrix_exp_pade7()
124 typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar; in matrix_exp_pade9()
146 typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar; in matrix_exp_pade13()
174 typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar; in matrix_exp_pade17()
197 …me MatrixType, typename RealScalar = typename NumTraits<typename traits<MatrixType>::Scalar>::Real>
357 typedef typename NumTraits<Scalar>::Real RealScalar;
DMatrixLogarithm.h27 typedef typename NumTraits<Scalar>::Real RealScalar;
134 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; in matrix_log_compute_pade()
227 typedef typename NumTraits<Scalar>::Real RealScalar; in matrix_log_compute_big()
337 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; in evalTo()
/external/eigen/Eigen/src/SparseCore/
DSparseDot.h76 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
83 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
91 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real
/external/eigen/doc/
DCustomizingEigen_CustomScalar.dox32 typedef adtl::adouble Real;
72 typedef mpq_class Real;
76 static inline Real epsilon() { return 0; }
77 static inline Real dummy_precision() { return 0; }
78 static inline Real digits10() { return 0; }
/external/eigen/unsupported/test/
Dpolynomialsolver.cpp111 typedef typename REAL_ROOTS::Scalar Real; in evalSolverSugarFunction() typedef
114 std::vector< Real > calc_realRoots; in evalSolverSugarFunction()
141 Real r = psolve.absGreatestRealRoot( hasRealRoot ); in evalSolverSugarFunction()
191 typename NumTraits<_Scalar>::Real in polynomialsolver()
Dmatrix_function.cpp102 typedef typename NumTraits<Scalar>::Real RealScalar; in testMatrixExponential()
112 typedef typename NumTraits<Scalar>::Real RealScalar; in testMatrixLogarithm()
140 typedef typename NumTraits<Scalar>::Real RealScalar; in testGonioFunctions()
/external/python/cpython2/Lib/
Dnumbers.py169 class Real(Complex): class
267 Real.register(float)
270 class Rational(Real):
/external/eigen/Eigen/src/Core/functors/
DUnaryFunctors.h74 typedef typename NumTraits<Scalar>::Real result_type;
105 typedef typename NumTraits<Scalar>::Real result_type;
112 typedef typename NumTraits<Scalar>::Real result_type;
124 typedef typename NumTraits<Scalar>::Real result_type;
163 typedef typename NumTraits<Scalar>::Real result_type;
200 typedef typename NumTraits<Scalar>::Real result_type;
216 typedef typename NumTraits<Scalar>::Real result_type;
232 typedef typename NumTraits<Scalar>::Real result_type;
248 typedef typename NumTraits<Scalar>::Real result_type;
797 typedef typename NumTraits<Scalar>::Real real_type;
/external/eigen/blas/
DPackedSelfadjointProduct.h24 typedef typename NumTraits<Scalar>::Real RealScalar;
44 typedef typename NumTraits<Scalar>::Real RealScalar;

1234567891011