Home
last modified time | relevance | path

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

12345678910>>...16

/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()
/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
/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/python/pyasn1/docs/source/pyasn1/type/univ/
Dreal.rst2 .. _univ.Real:
4 .. |ASN.1| replace:: Real
9 .. autoclass:: pyasn1.type.univ.Real(value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsInter…
16 ….. automethod:: pyasn1.type.univ.Real.clone(value=NoValue(), tagSet=TagSet(), subtypeSpec=Constrai…
17 ….. automethod:: pyasn1.type.univ.Real.subtype(value=NoValue(), implicitTag=Tag(), explicitTag=Tag(…
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DInvokeDynamicTest.java28 Real real = new Real(); in directlyOn()
38 Shadow.directlyOn(real, Real.class).setX(42); in directlyOn()
60 public static class Real { class in InvokeDynamicTest
76 @Implements(Real.class)
78 @RealObject Real real;
/external/python/pyasn1/tests/type/
Dtest_univ.py702 assert univ.Real((0.25, 2, 3)) == 2.0, 'float initializer for binary encoding fails'
705 assert str(univ.Real(1.0)) == '1.0', 'str() fails'
708 assert 'Real' in repr(univ.Real(-4.1))
709 assert 'Real' in repr(univ.Real(-4.1))
710 assert 'inf' in repr(univ.Real('inf'))
711 assert '-inf' in repr(univ.Real('-inf'))
714 assert univ.Real(-4.1) + 1.4 == -2.7, '__add__() fails'
717 assert 4 + univ.Real(0.5) == 4.5, '__radd__() fails'
720 assert univ.Real(3.9) - 1.7 == 2.2, '__sub__() fails'
723 assert 6.1 - univ.Real(0.1) == 6, '__rsub__() fails'
[all …]
/external/u-boot/drivers/rtc/
DKconfig5 menu "Real Time Clock"
20 The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
31 compatible Real Time Clock devices.
37 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
49 Support for Epson RX8010SJ Real Time Clock devices.
/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/cpython3/Doc/library/
Dnumbers.rst5 :synopsis: Numeric abstract base classes (Complex, Real, Integral, etc.).
46 .. class:: Real
48 To :class:`Complex`, :class:`Real` adds the operations that work on real
55 Real also provides defaults for :func:`complex`, :attr:`~Complex.real`,
61 Subtypes :class:`Real` and adds
110 :class:`Real` with::
113 MyFoo.register(Real)
144 elif isinstance(other, Real):
177 If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge,
204 elif isinstance(a, numbers.Real):
/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/golang-protobuf/jsonpb/jsonpb_test_proto/
Dtest_objects.pb.go707 type Real struct { struct
715 func (m *Real) Reset() { *m = Real{} } argument
716 func (m *Real) String() string { return proto.CompactTextString(m) } argument
717 func (*Real) ProtoMessage() {} argument
718 func (*Real) Descriptor() ([]byte, []int) { argument
726 func (*Real) ExtensionRangeArray() []proto.ExtensionRange { argument
730 func (m *Real) XXX_Unmarshal(b []byte) error { argument
733 func (m *Real) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
736 func (m *Real) XXX_Merge(src proto.Message) { argument
739 func (m *Real) XXX_Size() int { argument
[all …]
/external/icu/icu4c/source/data/curr/
Dwae.txt7 "Brasilianiši Real",
44 one{"Brasilianišä Real"}
45 other{"Brasilianiši Real"}
/external/python/cpython3/Lib/test/
Dtest_abstract_numbers.py6 from numbers import Complex, Real, Rational, Integral
22 self.assertTrue(issubclass(float, Real))
30 self.assertFalse(issubclass(complex, 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/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/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/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Real.pbtxt2 graph_op_name: "Real"
4 name: "math.Real"
/external/clang/test/SemaTemplate/
Dqualified-names-diag.cpp13 typedef float Real; typedef
19 vector<Real> v2; in test()
/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;
/external/python/pyasn1/tests/codec/ber/
Dtest_encoder.py368 univ.Real((123, 10, 11))
373 univ.Real((0.5, 2, 0)) # check encbase = 2 and exponent = -1
377 r = univ.Real((3.25, 2, 0))
385 …binEncBase, encoder.typeMap[univ.Real.typeId].binEncBase = encoder.typeMap[univ.Real.typeId].binEn…
387 univ.Real((0.00390625, 2, 0)) # check encbase = 16
389 encoder.typeMap[univ.Real.typeId].binEncBase = binEncBase
393 …binEncBase, encoder.typeMap[univ.Real.typeId].binEncBase = encoder.typeMap[univ.Real.typeId].binEn…
395 univ.Real((1, 2, 0)) # check exponenta = 0
397 encoder.typeMap[univ.Real.typeId].binEncBase = binEncBase
401 univ.Real((3, 2, -1020)) # case of 2 octs for exponent and
[all …]
/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

12345678910>>...16