HomeSort by relevance Sort by last modified time
    Searched defs:RealScalar (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /external/eigen/test/eigen2/
eigen2_inverse.cpp 23 typedef typename NumTraits<Scalar>::Real RealScalar;
31 while(ei_abs(m1.determinant()) < RealScalar(0.1) && rows <= 8)
eigen2_alignedbox.cpp 23 typedef typename NumTraits<Scalar>::Real RealScalar;
28 RealScalar s1 = ei_random<RealScalar>(0,1);
eigen2_parametrizedline.cpp 24 typedef typename NumTraits<Scalar>::Real RealScalar;
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) );
eigen2_prec_inverse_4x4.cpp 32 typedef typename MatrixType::RealScalar RealScalar;
51 typedef typename MatrixType::RealScalar RealScalar;
56 RealScalar absdet;
eigen2_svd.cpp 22 typedef typename NumTraits<Scalar>::Real RealScalar;
28 RealScalar largerEps = test_precision<RealScalar>();
29 if (ei_is_same_type<RealScalar,float>::ret)
44 if (ei_is_same_type<RealScalar,float>::ret)
eigen2_array.cpp 20 typedef typename NumTraits<Scalar>::Real RealScalar;
55 typedef typename NumTraits<Scalar>::Real RealScalar;
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());
eigen2_lu.cpp 16 typedef typename Derived::RealScalar RealScalar;
19 RealScalar d = Eigen::ei_random<RealScalar>(-1,1);
82 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
88 if (ei_is_same_type<RealScalar,float>::ret)
  /external/eigen/test/
product_mmtr.cpp 22 typedef typename NumTraits<Scalar>::Real RealScalar;
product_trsolve.cpp 32 typedef typename NumTraits<Scalar>::Real RealScalar;
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);
bandmatrix.cpp 16 typedef typename NumTraits<Scalar>::Real RealScalar;
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));
diagonal.cpp 16 typedef typename MatrixType::RealScalar RealScalar;
inverse.cpp 24 typedef typename NumTraits<Scalar>::Real RealScalar;
48 RealScalar det;
66 VERIFY_IS_MUCH_SMALLER_THAN(internal::abs(det-m3.determinant()), RealScalar(1));
prec_inverse_4x4.cpp 17 typedef typename MatrixType::RealScalar RealScalar;
33 typedef typename MatrixType::RealScalar RealScalar;
38 RealScalar absdet;
product_trmv.cpp 16 typedef typename NumTraits<Scalar>::Real RealScalar;
19 RealScalar largerEps = 10*test_precision<RealScalar>();
selfadjoint.cpp 19 typedef typename NumTraits<Scalar>::Real RealScalar;
vectorwiseop.cpp 18 typedef typename NumTraits<Scalar>::Real RealScalar;
111 typedef typename NumTraits<Scalar>::Real RealScalar;
array_replicate.cpp 19 typedef typename NumTraits<Scalar>::Real RealScalar;
eigensolver_complex.cpp 21 typedef typename NumTraits<typename VectorType::Scalar>::Real RealScalar;
28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
43 typedef typename NumTraits<Scalar>::Real RealScalar;
45 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
72 VERIFY_IS_APPROX(id.operatorNorm(), RealScalar(1));
77 a(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
eigensolver_generic.cpp 25 typedef typename NumTraits<Scalar>::Real RealScalar;
27 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
54 VERIFY_IS_APPROX(id.operatorNorm(), RealScalar(1));
59 a(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
product_symm.cpp 14 typedef typename NumTraits<Scalar>::Real RealScalar;
product_syrk.cpp 16 typedef typename NumTraits<Scalar>::Real RealScalar;
  /external/eigen/Eigen/src/SparseCore/
SparseSparseProductWithPruning.h 20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res, typename ResultType::RealScalar tolerance)
86 typedef typename ResultType::RealScalar RealScalar;
88 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance)
99 typedef typename ResultType::RealScalar RealScalar;
100 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance)
113 typedef typename ResultType::RealScalar RealScalar;
114 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance
    [all...]
  /external/eigen/Eigen/src/Core/
Dot.h 165 typedef typename NumTraits<typename traits<Derived>::Scalar>::Real RealScalar;
166 static inline RealScalar run(const MatrixBase<Derived>& m)
168 return pow(m.cwiseAbs().array().pow(p).sum(), RealScalar(1)/p);
226 (const MatrixBase<OtherDerived>& other, RealScalar prec) const
245 bool MatrixBase<Derived>::isUnitary(RealScalar prec) const
250 if(!internal::isApprox(nested.col(i).squaredNorm(), static_cast<RealScalar>(1), prec))
  /external/eigen/Eigen/src/Geometry/
OrthoMethods.h 132 typedef typename NumTraits<Scalar>::Real RealScalar;
143 RealScalar invnm = RealScalar(1)/(Vector2() << src.coeff(sndi),src.coeff(maxi)).finished().norm();
156 typedef typename NumTraits<Scalar>::Real RealScalar;
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/
Jacobi.h 37 typedef typename NumTraits<Scalar>::Real RealScalar;
65 bool makeJacobi(RealScalar x, Scalar y, RealScalar z);
82 bool JacobiRotation<Scalar>::makeJacobi(RealScalar x, Scalar y, RealScalar z)
84 typedef typename NumTraits<Scalar>::Real RealScalar;
93 RealScalar tau = (x-z)/(RealScalar(2)*internal::abs(y));
94 RealScalar w = internal::sqrt(internal::abs2(tau) + RealScalar(1))
    [all...]

Completed in 616 milliseconds

1 2 3 4 5 6