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

1 2 3 4 5 6 7

  /external/eigen/Eigen/src/Core/
StableNorm.h 48 RealScalar scale(0);
49 RealScalar invScale(1);
50 RealScalar ssq(0); // sum of square
80 static RealScalar b1, b2, s1m, s2m, overfl, rbig, relerr;
84 RealScalar abig, eps;
94 ibeta = std::numeric_limits<RealScalar>::radix; // base for floating-point numbers
95 it = std::numeric_limits<RealScalar>::digits; // number of base-beta digits in mantissa
96 iemin = std::numeric_limits<RealScalar>::min_exponent; // minimum exponent
97 iemax = std::numeric_limits<RealScalar>::max_exponent; // maximum exponent
98 rbig = (std::numeric_limits<RealScalar>::max)(); // largest floating-point numbe
    [all...]
Fuzzy.h 22 static bool run(const Derived& x, const OtherDerived& y, typename Derived::RealScalar prec)
34 static bool run(const Derived& x, const OtherDerived& y, typename Derived::RealScalar)
43 static bool run(const Derived& x, const OtherDerived& y, typename Derived::RealScalar prec)
52 static bool run(const Derived& x, const OtherDerived&, typename Derived::RealScalar)
61 static bool run(const Derived& x, const typename Derived::RealScalar& y, typename Derived::RealScalar prec)
70 static bool run(const Derived& x, const typename Derived::RealScalar&, typename Derived::RealScalar)
92 * RealScalar&, RealScalar) instead
    [all...]
MathFunctions.h 65 typedef typename NumTraits<Scalar>::Real RealScalar;
66 static inline RealScalar run(const Scalar& x)
72 template<typename RealScalar>
73 struct real_impl<std::complex<RealScalar> >
75 static inline RealScalar run(const std::complex<RealScalar>& x)
101 typedef typename NumTraits<Scalar>::Real RealScalar;
102 static inline RealScalar run(const Scalar&)
104 return RealScalar(0);
108 template<typename RealScalar>
    [all...]
  /external/eigen/unsupported/Eigen/src/Polynomials/
PolynomialSolver.h 35 typedef typename NumTraits<Scalar>::Real RealScalar;
36 typedef std::complex<RealScalar> RootType;
70 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) const
85 RealScalar norm2 = internal::abs2( m_roots[0] );
88 const RealScalar currNorm2 = internal::abs2( m_roots[i] );
116 inline const RealScalar& selectRealRoot_withRespectToAbsRealPart(
119 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) const
123 RealScalar abs2(0);
137 const RealScalar currAbs2 = m_roots[i].real() * m_roots[i].real();
156 inline const RealScalar& selectRealRoot_withRespectToRealPart
    [all...]
  /external/eigen/blas/
level1_cplx_impl.h 13 typedef RealScalar result_type;
15 inline RealScalar operator() (const Scalar& a) const { return internal::norm1(a); }
28 RealScalar EIGEN_CAT(EIGEN_CAT(REAL_SCALAR_SUFFIX,SCALAR_SUFFIX),asum_)(int *n, RealScalar *px, int *incx)
40 int EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar* pres)
59 int EIGEN_BLAS_FUNC(dotuw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar* pres
    [all...]
level1_real_impl.h 14 RealScalar EIGEN_BLAS_FUNC(asum)(int *n, RealScalar *px, int *incx)
27 Scalar EIGEN_BLAS_FUNC(dot)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
46 Scalar EIGEN_BLAS_FUNC(nrm2)(int *n, RealScalar *px, int *incx)
57 int EIGEN_BLAS_FUNC(rot)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, RealScalar *ps)
83 int EIGEN_BLAS_FUNC(rotm)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *param
    [all...]
level1_impl.h 12 int EIGEN_BLAS_FUNC(axpy)(int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy)
29 int EIGEN_BLAS_FUNC(copy)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
54 int EIGEN_CAT(EIGEN_CAT(i,SCALAR_SUFFIX),amax_)(int *n, RealScalar *px, int *incx)
65 int EIGEN_CAT(EIGEN_CAT(i,SCALAR_SUFFIX),amin_)(int *n, RealScalar *px, int *incx)
76 int EIGEN_BLAS_FUNC(rotg)(RealScalar *pa, RealScalar *pb, RealScalar *pc, RealScalar *ps
    [all...]
level2_cplx_impl.h 19 int EIGEN_BLAS_FUNC(hemv)(char *uplo, int *n, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *px, int *incx, RealScalar *pbeta, RealScalar *py, int *incy)
69 // int EIGEN_BLAS_FUNC(hbmv)(char *uplo, int *n, int *k, RealScalar *alpha, RealScalar *a, int *lda,
70 // RealScalar *x, int *incx, RealScalar *beta, RealScalar *y, int *incy
    [all...]
level2_real_impl.h 13 int EIGEN_BLAS_FUNC(symv) (char *uplo, int *n, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *px, int *incx, RealScalar *pbeta, RealScalar *py, int *incy)
54 int EIGEN_BLAS_FUNC(syr)(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *pc, int *ldc)
108 int EIGEN_BLAS_FUNC(syr2)(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, int *ldc
    [all...]
  /external/eigen/Eigen/src/Householder/
Householder.h 42 void MatrixBase<Derived>::makeHouseholderInPlace(Scalar& tau, RealScalar& beta)
68 RealScalar& beta) const
73 RealScalar tailSqNorm = size()==1 ? RealScalar(0) : tail.squaredNorm();
76 if(tailSqNorm == RealScalar(0) && internal::imag(c0)==RealScalar(0))
78 tau = RealScalar(0);
85 if (internal::real(c0)>=RealScalar(0))
  /external/eigen/unsupported/Eigen/src/MatrixFunctions/
MatrixFunctionAtomic.h 30 typedef typename NumTraits<Scalar>::Real RealScalar;
67 RealScalar m_mu;
75 m_avgEival = A.trace() / Scalar(RealScalar(m_Arows));
84 P = Scalar(RealScalar(1.0/(s + 1))) * P * m_Ashifted;
109 const RealScalar F_norm = F.cwiseAbs().rowwise().sum().maxCoeff();
110 const RealScalar Fincr_norm = Fincr.cwiseAbs().rowwise().sum().maxCoeff();
112 RealScalar delta = 0;
113 RealScalar rfactorial = 1;
115 RealScalar mx = 0;
119 rfactorial *= RealScalar(r)
    [all...]
  /external/eigen/unsupported/test/
matrix_function.cpp 20 return ((a-b).array().abs() < test_precision<typename Type1::RealScalar>()).all();
30 typedef typename MatrixType::RealScalar RealScalar;
33 diag(i, i) = Scalar(RealScalar(internal::random<int>(0,2)))
34 + internal::random<Scalar>() * Scalar(RealScalar(0.01));
84 typedef typename MatrixType::RealScalar RealScalar;
88 diag(i, i) = Scalar(RealScalar(internal::random<Index>(-1, 1))) * imagUnit
89 + internal::random<Scalar>() * Scalar(RealScalar(0.01));
102 typedef typename NumTraits<Scalar>::Real RealScalar;
    [all...]
  /external/eigen/test/
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));
prec_inverse_4x4.cpp 17 typedef typename MatrixType::RealScalar RealScalar;
33 typedef typename MatrixType::RealScalar RealScalar;
38 RealScalar absdet;
stable_norm.cpp 37 typedef typename NumTraits<Scalar>::Real RealScalar;
43 ibeta = std::numeric_limits<RealScalar>::radix; // base for floating-point numbers
44 it = std::numeric_limits<RealScalar>::digits; // number of base-beta digits in mantissa
45 iemin = std::numeric_limits<RealScalar>::min_exponent; // minimum exponent
46 iemax = std::numeric_limits<RealScalar>::max_exponent; // maximum exponent
56 Scalar big = internal::random<Scalar>() * ((std::numeric_limits<RealScalar>::max)() * RealScalar(1e-4));
57 Scalar small = internal::random<Scalar>() * ((std::numeric_limits<RealScalar>::min)() * RealScalar(1e4));
67 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1))
    [all...]
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();
  /external/eigen/test/eigen2/
eigen2_adjoint.cpp 19 typedef typename NumTraits<Scalar>::Real RealScalar;
25 RealScalar largerEps = test_precision<RealScalar>();
26 if (ei_is_same_type<RealScalar,float>::ret)
27 largerEps = RealScalar(1e-3f);
52 typedef typename NumTraits<Scalar>::Real RealScalar;
59 VERIFY_IS_MUCH_SMALLER_THAN(ei_abs(vzero.eigen2_dot(v1)), static_cast<RealScalar>(1));
61 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1));
76 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(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)
  /external/eigen/Eigen/src/Core/util/
BlasUtil.h 63 template<typename RealScalar> struct conj_helper<std::complex<RealScalar>, std::complex<RealScalar>, false,true>
65 typedef std::complex<RealScalar> Scalar;
73 template<typename RealScalar> struct conj_helper<std::complex<RealScalar>, std::complex<RealScalar>, true,false>
75 typedef std::complex<RealScalar> Scalar;
83 template<typename RealScalar> struct conj_helper<std::complex<RealScalar>, std::complex<RealScalar>, true,true
    [all...]
  /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/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...]
  /external/eigen/Eigen/src/IterativeLinearSolvers/
ConjugateGradient.h 30 typename Dest::RealScalar& tol_error)
34 typedef typename Dest::RealScalar RealScalar;
38 RealScalar tol = tol_error;
49 RealScalar absNew = internal::real(residual.dot(p)); // the square of the absolute value of r scaled by invM
50 RealScalar rhsNorm2 = rhs.squaredNorm();
51 RealScalar residualNorm2 = 0;
52 RealScalar threshold = tol*tol*rhsNorm2;
68 RealScalar absOld = absNew;
70 RealScalar beta = absNew / absOld; // calculate the Gram-Schmidt value used to create the new sear (…)
    [all...]
IterativeSolverBase.h 28 typedef typename MatrixType::RealScalar RealScalar;
120 RealScalar tolerance() const { return m_tolerance; }
123 Derived& setTolerance(RealScalar tolerance)
156 RealScalar error() const
227 RealScalar m_tolerance;
229 mutable RealScalar m_error;

Completed in 290 milliseconds

1 2 3 4 5 6 7