Searched defs:Real (Results 1 - 22 of 22) sorted by relevance

/external/eigen/test/
H A Dnumext.cpp14 typedef typename NumTraits<T>::Real Real; typedef
25 x = x/Real(2);
29 VERIFY( numext::abs(-x) >= Real(0));
31 VERIFY( numext::abs(x) >= Real(0));
H A 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; }
80 struct NumTraits<boost::multiprecision::detail::expression<T1,T2,T3,T4,T5> > : NumTraits<Real> {};
83 Real test_precision<Real>() { return 1e-50; }
88 struct cast_impl<Real,NewType> {
89 static inline NewType run(const Real& x) {
95 struct cast_impl<Real,st
129 get_test_precision(const Real&) argument
[all...]
/external/clang/test/SemaTemplate/
H A Dqualified-names-diag.cpp13 typedef float Real; typedef
19 vector<Real> v2;
/external/eigen/Eigen/src/Core/
H A DNumTraits.h33 typedef typename NumTraits<T>::Real Real; typedef
34 return int(ceil(-log10(NumTraits<Real>::epsilon())));
56 * \li A typedef \c Real, giving the "real part" type of \a T. If \a T is already real,
57 * then \c Real is just a typedef to \a T. If \a T is \c std::complex<U> then \c Real
79 * it returns a \a Real instead of a \a T.
100 typedef T Real; typedef in struct:Eigen::GenericNumTraits
110 static inline Real epsilon()
122 static inline Real dummy_precisio
[all...]
/external/eigen/unsupported/Eigen/src/Polynomials/
H A DPolynomialUtils.h48 typedef typename NumTraits<T>::Real Real; typedef
50 if( numext::abs2( x ) <= Real(1) ){
75 typename NumTraits<typename Polynomial::Scalar>::Real cauchy_max_bound( const Polynomial& poly )
79 typedef typename NumTraits<Scalar>::Real Real; typedef
83 Real cb(0);
87 return cb + Real(1);
98 typename NumTraits<typename Polynomial::Scalar>::Real cauchy_min_bound( const Polynomial& poly )
102 typedef typename NumTraits<Scalar>::Real Rea typedef
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_abstract_numbers.py5 from numbers import Complex, Real, Rational, Integral namespace
31 self.assertTrue(issubclass(float, Real))
38 self.assertFalse(issubclass(complex, Real))
/external/python/cpython3/Lib/test/
H A Dtest_abstract_numbers.py6 from numbers import Complex, Real, Rational, Integral namespace
22 self.assertTrue(issubclass(float, Real))
30 self.assertFalse(issubclass(complex, Real))
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
H A DInvokeDynamicTest.java27 Real real = new Real();
37 Shadow.directlyOn(real, Real.class).setX(42);
59 public static class Real { class in class:InvokeDynamicTest
75 @Implements(Real.class)
77 @RealObject Real real;
/external/eigen/unsupported/test/
H A Dpolynomialsolver.cpp111 typedef typename REAL_ROOTS::Scalar Real; typedef
114 std::vector< Real > calc_realRoots;
141 Real r = psolve.absGreatestRealRoot( hasRealRoot );
191 typename NumTraits<_Scalar>::Real
/external/python/cpython2/Lib/
H A Dnumbers.py11 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
28 ## Decimal has all of the methods specified by the Real abc, but it should
29 ## not be registered as a Real because decimals do not interoperate with
60 This should subclass Real.
68 This should subclass Real.
148 """Returns the Real distance from 0. Called for abs(self)."""
169 class Real(Complex): class in inherits:Complex
170 """To Complex, Real adds the operations that work on real numbers.
175 Real also provides defaults for the derived operations.
182 """Any Real ca
[all...]
/external/python/cpython3/Lib/
H A Dnumbers.py10 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
26 ## Decimal has all of the methods specified by the Real abc, but it should
27 ## not be registered as a Real because decimals do not interoperate with
58 This should subclass Real.
67 This should subclass Real.
131 """Returns the Real distance from 0. Called for abs(self)."""
147 class Real(Complex): class in inherits:Complex
148 """To Complex, Real adds the operations that work on real numbers.
153 Real also provides defaults for the derived operations.
160 """Any Real ca
[all...]
/external/eigen/unsupported/Eigen/src/AutoDiff/
H A DAutoDiffScalar.h70 typename NumTraits<typename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar>::Real>::value>
75 typename NumTraits<typename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar>::Real>::value> Base;
78 typedef typename NumTraits<Scalar>::Real Real; typedef in class:Eigen::AutoDiffScalar
96 /*explicit*/ AutoDiffScalar(const Real& value)
191 // inline const AutoDiffScalar<DerType&> operator+(const Real& other) const
196 // friend inline const AutoDiffScalar<DerType&> operator+(const Real& a, const AutoDiffScalar& b)
281 // inline const AutoDiffScalar<typename CwiseUnaryOp<internal::scalar_multiple_op<Real>, DerType>::Type >
282 // operator*(const Real& other) const
284 // return AutoDiffScalar<typename CwiseUnaryOp<internal::scalar_multiple_op<Real>, DerTyp
392 typedef typename NumTraits<Scalar>::Real Real; typedef in struct:Eigen::internal::auto_diff_special_op
675 0, DerTypeCleaned::MaxRowsAtCompileTime, DerTypeCleaned::MaxColsAtCompileTime> > Real; typedef in struct:Eigen::NumTraits
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
H A DMCAsmLexer.h35 // Real values.
36 Real, enumerator in enum:llvm::AsmToken::TokenKind
/external/clang/include/clang/AST/
H A DAPValue.h72 APSInt Real, Imag; member in struct:clang::APValue::ComplexAPSInt
73 ComplexAPSInt() : Real(1), Imag(1) {}
76 APFloat Real, Imag; member in struct:clang::APValue::ComplexAPFloat
77 ComplexAPFloat() : Real(0.0), Imag(0.0) {}
218 return ((ComplexAPSInt*)(char*)Data.buffer)->Real;
234 return ((ComplexAPFloat*)(char*)Data.buffer)->Real;
366 ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R);
373 ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R);
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorIndexList.h69 typedef DenseIndex Real; typedef in struct:Eigen::NumTraits
78 EIGEN_DEVICE_FUNC static inline Real epsilon() { return 0; }
79 EIGEN_DEVICE_FUNC static inline Real dummy_precision() { return 0; }
80 EIGEN_DEVICE_FUNC static inline Real highest() { return n; }
81 EIGEN_DEVICE_FUNC static inline Real lowest() { return n; }
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h39 // Real values.
40 Real, enumerator in enum:llvm::AsmToken::TokenKind
/external/python/cpython3/Lib/unittest/test/testmock/
H A Dtestmock.py563 class Real(object): class in function:MockTest.test_wraps_attributes
566 real = Real()
574 Real.attribute.frog.assert_called_with(1, 2, fish=3)
575 self.assertEqual(result, Real.attribute.frog())
/external/clang/lib/CodeGen/
H A DCGExprComplex.cpp190 // LNot,Real,Imag never return complex.
317 /// load the real and imaginary pieces, returning them as Real/Imag.
327 llvm::Value *Real = nullptr, *Imag = nullptr; local
331 Real = Builder.CreateLoad(RealP, isVolatile, SrcPtr.getName() + ".real");
339 return ComplexPairTy(Real, Imag);
1007 llvm::Value *Real = CGF.EmitScalarExpr(E->getInit(0)); local
1009 return ComplexPairTy(Real, Imag);
H A DCGBuiltin.cpp582 Value *Real = ComplexVal.first; local
590 return RValue::getComplex(std::make_pair(Real, Imag));
/external/tensorflow/tensorflow/compiler/xla/client/
H A Dcomputation_builder.cc814 return Complex(Real(operand), Neg(Imag(operand)));
950 ComputationDataHandle ComputationBuilder::Real( function in class:xla::ComputationBuilder
/external/clang/lib/AST/
H A DExprConstant.cpp8562 APFloat &Real = Result.FloatReal; local
8563 if (!EvaluateFloat(E->getSubExpr(), Real, Info))
8567 Result.FloatImag = APFloat(Real.getSemantics());
8598 APSInt &Real = Result.IntReal; local
8599 if (!EvaluateInteger(E->getSubExpr(), Real, Info))
8603 Result.IntImag = APSInt(Real.getBitWidth(), !Real.isSigned());
8649 APFloat &Real = Result.FloatReal; local
8650 LHSOK = EvaluateFloat(E->getLHS(), Real, Info);
8653 Result.FloatImag = APFloat(Real
8664 APFloat &Real = RHS.FloatReal; local
[all...]
/external/annotation-tools/asmx/test/lib/
H A Dxalan-2.6.0.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/runtime/ META-INF/services/ org/ org/apache/ ...

Completed in 1186 milliseconds