Searched defs:RealScalar (Results 1 - 25 of 134) sorted by relevance

123456

/external/eigen/test/
H A Dproduct_trsolve.cpp32 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
43 cmLhs.setRandom(); cmLhs *= static_cast<RealScalar>(0.1); cmLhs.diagonal().array() += static_cast<RealScalar>(1);
44 rmLhs.setRandom(); rmLhs *= static_cast<RealScalar>(0.1); rmLhs.diagonal().array() += static_cast<RealScalar>(1);
H A Dbandmatrix.cpp16 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
33 m.diagonal(i).setConstant(static_cast<RealScalar>(i));
34 dm1.diagonal(i).setConstant(static_cast<RealScalar>(i));
38 m.diagonal(-i).setConstant(-static_cast<RealScalar>(i));
39 dm1.diagonal(-i).setConstant(-static_cast<RealScalar>(i));
46 m.col(i).setConstant(static_cast<RealScalar>(i+1));
47 dm1.col(i).setConstant(static_cast<RealScalar>(i+1));
H A Dinverse.cpp44 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
50 RealScalar det;
68 VERIFY_IS_MUCH_SMALLER_THAN(abs(det-m3.determinant()), RealScalar(1));
H A Dprec_inverse_4x4.cpp33 typedef typename MatrixType::RealScalar RealScalar; typedef
38 RealScalar absdet;
H A Dproduct_trmv.cpp16 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
19 RealScalar largerEps = 10*test_precision<RealScalar>();
H A Deigensolver_complex.cpp21 typedef typename NumTraits<typename VectorType::Scalar>::Real RealScalar; typedef
28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
43 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
80 VERIFY_IS_APPROX(id.operatorNorm(), RealScalar(1));
85 a(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
H A Deigensolver_generic.cpp25 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
26 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
64 VERIFY_IS_APPROX(id.operatorNorm(), RealScalar(1));
69 a(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
H A Deigensolver_selfadjoint.cpp25 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
27 RealScalar largerEps = 10*test_precision<RealScalar>();
83 VERIFY_IS_APPROX(id.template selfadjointView<Lower>().operatorNorm(), RealScalar(1));
105 symmA(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
H A Dadjoint.cpp30 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
33 RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm());
44 VERIFY_IS_APPROX(v3.norm(), RealScalar(1));
52 VERIFY_IS_APPROX(Vec::Random(v1.size()).normalized().norm(), RealScalar(1));
64 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
97 VERIFY_IS_MUCH_SMALLER_THAN(abs(vzero.dot(v1)), static_cast<RealScalar>(1));
120 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
/external/eigen/Eigen/src/SparseLU/
H A DSparseLUImpl.h25 typedef typename ScalarVector::RealScalar RealScalar; typedef in class:Eigen::internal::SparseLUImpl
41 Index pivotL(const Index jcol, const RealScalar& diagpivotthresh, IndexVector& perm_r, IndexVector& iperm_c, Index& pivrow, GlobalLU_t& glu);
/external/eigen/blas/
H A DPackedSelfadjointProduct.h24 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in struct:internal::selfadjoint_packed_rank1_update
25 static void run(Index size, Scalar* mat, const Scalar* vec, RealScalar alpha)
44 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in struct:internal::selfadjoint_packed_rank1_update
45 static void run(Index size, Scalar* mat, const Scalar* vec, RealScalar alpha)
/external/eigen/test/eigen2/
H A Deigen2_alignedbox.cpp23 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
28 RealScalar s1 = ei_random<RealScalar>(0,1);
H A Deigen2_inverse.cpp23 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
31 while(ei_abs(m1.determinant()) < RealScalar(0.1) && rows <= 8)
H A Deigen2_prec_inverse_4x4.cpp32 typedef typename MatrixType::RealScalar RealScalar; typedef
51 typedef typename MatrixType::RealScalar RealScalar; typedef
56 RealScalar absdet;
H A Deigen2_svd.cpp22 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
28 RealScalar largerEps = test_precision<RealScalar>();
29 if (ei_is_same_type<RealScalar,float>::ret)
44 if (ei_is_same_type<RealScalar,float>::ret)
H A Deigen2_array.cpp20 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
55 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
102 VERIFY(((m1.cwise().abs().cwise()+1).cwise()>RealScalar(0.1)).count() == rows*cols);
103 VERIFY_IS_APPROX(((m1.cwise().abs().cwise()+1).cwise()>RealScalar(0.1)).colwise().count().template cast<int>(), RowVectorXi::Constant(cols,rows));
104 VERIFY_IS_APPROX(((m1.cwise().abs().cwise()+1).cwise()>RealScalar(0.1)).rowwise().count().template cast<int>(), VectorXi::Constant(rows, cols));
114 VERIFY_IS_APPROX(ei_pow(u.template lpNorm<5>(), typename VectorType::RealScalar(5)), u.cwise().abs().cwise().pow(5).sum());
H A Deigen2_lu.cpp16 typedef typename Derived::RealScalar RealScalar; typedef
19 RealScalar d = Eigen::ei_random<RealScalar>(-1,1);
82 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; typedef
88 if (ei_is_same_type<RealScalar,float>::ret)
H A Deigen2_parametrizedline.cpp24 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
39 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0), RealScalar(1) );
40 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0+s0*d0), RealScalar(1) );
42 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(l0.projection(p1)), RealScalar(1) );
/external/eigen/Eigen/src/Core/
H A DArrayBase.h56 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in class:Eigen::ArrayBase
H A DDot.h166 typedef typename NumTraits<typename traits<Derived>::Scalar>::Real RealScalar; typedef in struct:Eigen::internal::lpNorm_selector
167 static inline RealScalar run(const MatrixBase<Derived>& m)
170 return pow(m.cwiseAbs().array().pow(p).sum(), RealScalar(1)/p);
228 (const MatrixBase<OtherDerived>& other, const RealScalar& prec) const
247 bool MatrixBase<Derived>::isUnitary(const RealScalar& prec) const
252 if(!internal::isApprox(nested.col(i).squaredNorm(), static_cast<RealScalar>(1), prec))
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h35 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in class:Eigen::ParametrizedLine
71 RealScalar squaredDistance(const VectorType& p) const
79 RealScalar distance(const VectorType& p) const { return ei_sqrt(squaredDistance(p)); }
/external/eigen/Eigen/src/Eigen2Support/
H A DLU.h21 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; typedef in class:Eigen::LU
/external/eigen/Eigen/src/Geometry/
H A DOrthoMethods.h132 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in struct:Eigen::internal::unitOrthogonal_selector
143 RealScalar invnm = RealScalar(1)/(Vector2() << src.coeff(sndi),src.coeff(maxi)).finished().norm();
156 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in struct:Eigen::internal::unitOrthogonal_selector
170 RealScalar invnm = RealScalar(1)/src.template head<2>().norm();
181 RealScalar invnm = RealScalar(1)/src.template tail<2>().norm();
/external/eigen/Eigen/src/Jacobi/
H A DJacobi.h37 typedef typename NumTraits<Scalar>::Real RealScalar; typedef in class:Eigen::JacobiRotation
66 bool makeJacobi(const RealScalar& x, const Scalar& y, const RealScalar& z);
83 bool JacobiRotation<Scalar>::makeJacobi(const RealScalar& x, const Scalar& y, const RealScalar& z)
87 typedef typename NumTraits<Scalar>::Real RealScalar; typedef
96 RealScalar tau = (x-z)/(RealScalar(2)*abs(y));
97 RealScalar w = sqrt(numext::abs2(tau) + RealScalar(
[all...]
/external/eigen/Eigen/src/SparseCore/
H A DSparseSparseProductWithPruning.h20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res, const typename ResultType::RealScalar& tolerance)
86 typedef typename ResultType::RealScalar RealScalar; typedef in struct:Eigen::internal::sparse_sparse_product_with_pruning_selector
88 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
99 typedef typename ResultType::RealScalar RealScalar; typedef in struct:Eigen::internal::sparse_sparse_product_with_pruning_selector
100 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
113 typedef typename ResultType::RealScalar RealScalar; typedef in struct:Eigen::internal::sparse_sparse_product_with_pruning_selector
114 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar
126 typedef typename ResultType::RealScalar RealScalar; typedef in struct:Eigen::internal::sparse_sparse_product_with_pruning_selector
[all...]

Completed in 234 milliseconds

123456