/external/eigen/Eigen/src/Core/functors/ |
D | UnaryFunctors.h | 18 * \brief Template functor to compute the opposite of a scalar 22 template<typename Scalar> struct scalar_opposite_op { 24 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return -a;… in EIGEN_EMPTY_STRUCT_CTOR() 29 template<typename Scalar> 30 struct functor_traits<scalar_opposite_op<Scalar> > 32 Cost = NumTraits<Scalar>::AddCost, 33 PacketAccess = packet_traits<Scalar>::HasNegate }; 37 * \brief Template functor to compute the absolute value of a scalar 41 template<typename Scalar> struct scalar_abs_op { 43 typedef typename NumTraits<Scalar>::Real result_type; [all …]
|
D | NullaryFunctors.h | 17 template<typename Scalar> 20 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE scalar_constant_op(const Scalar& other) : m_other(other) { } in scalar_constant_op() 21 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() () const { return m_other; } in operator() 24 const Scalar m_other; 26 template<typename Scalar> 27 struct functor_traits<scalar_constant_op<Scalar> > 29 PacketAccess = packet_traits<Scalar>::Vectorizable, IsRepeatable = true }; }; 31 template<typename Scalar> struct scalar_identity_op { 34 …UNC EIGEN_STRONG_INLINE const Scalar operator() (IndexType row, IndexType col) const { return row=… 36 template<typename Scalar> [all …]
|
/external/eigen/unsupported/Eigen/src/SpecialFunctions/ |
D | SpecialFunctionsFunctors.h | 24 template<typename Scalar> struct scalar_igamma_op : binary_op_base<Scalar,Scalar> 27 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a, const Scalar& x) c… in EIGEN_EMPTY_STRUCT_CTOR() 35 template<typename Scalar> 36 struct functor_traits<scalar_igamma_op<Scalar> > { 39 Cost = 20 * NumTraits<Scalar>::MulCost + 10 * NumTraits<Scalar>::AddCost, 40 PacketAccess = packet_traits<Scalar>::HasIGamma 50 template<typename Scalar> struct scalar_igammac_op : binary_op_base<Scalar,Scalar> 53 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a, const Scalar& x) c… 62 template<typename Scalar> 63 struct functor_traits<scalar_igammac_op<Scalar> > { [all …]
|
D | SpecialFunctionsImpl.h | 50 * Scalar x, y, coef[N+1]; 80 template <typename Scalar, int N> 83 static EIGEN_STRONG_INLINE Scalar run(const Scalar x, const Scalar coef[]) { in run() 86 return polevl<Scalar, N - 1>::run(x, coef) * x + coef[N]; in run() 90 template <typename Scalar> 91 struct polevl<Scalar, 0> { 93 static EIGEN_STRONG_INLINE Scalar run(const Scalar, const Scalar coef[]) { 104 template <typename Scalar> 107 static EIGEN_STRONG_INLINE Scalar run(const Scalar) { 108 EIGEN_STATIC_ASSERT((internal::is_same<Scalar, Scalar>::value == false), [all …]
|
/external/eigen/Eigen/src/Core/util/ |
D | BlasUtil.h | 24 template<typename Scalar, typename Index, typename DataMapper, int nr, int StorageOrder, bool Conju… 27 template<typename Scalar, typename Index, typename DataMapper, int Pack1, int Pack2, int StorageOrd… 63 typedef typename ScalarBinaryOpTraits<LhsScalar,RhsScalar>::ReturnType Scalar; 65 EIGEN_STRONG_INLINE Scalar pmadd(const LhsScalar& x, const RhsScalar& y, const Scalar& c) const 68 EIGEN_STRONG_INLINE Scalar pmul(const LhsScalar& x, const RhsScalar& y) const 72 template<typename Scalar> struct conj_helper<Scalar,Scalar,false,false> 74 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar pmadd(const Scalar& x, const Scalar& y, const Scalar&… 75 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar pmul(const Scalar& x, const Scalar& y) const { return… 80 typedef std::complex<RealScalar> Scalar; 81 EIGEN_STRONG_INLINE Scalar pmadd(const Scalar& x, const Scalar& y, const Scalar& c) const [all …]
|
/external/eigen/blas/ |
D | level2_impl.h | 12 template<typename Index, typename Scalar, int StorageOrder, bool ConjugateLhs, bool ConjugateRhs> 15 …dex rows, Index cols,const Scalar *lhs, Index lhsStride, const Scalar *rhs, Index rhsIncr, Scalar*… in run() 17 typedef internal::const_blas_data_mapper<Scalar,Index,StorageOrder> LhsMapper; in run() 18 typedef internal::const_blas_data_mapper<Scalar,Index,RowMajor> RhsMapper; in run() 21 <Index,Scalar,LhsMapper,StorageOrder,ConjugateLhs,Scalar,RhsMapper,ConjugateRhs>::run( in run() 29 …typedef void (*functype)(int, int, const Scalar *, int, const Scalar *, int , Scalar *, int, Scala… in EIGEN_BLAS_FUNC() 32 (general_matrix_vector_product_wrapper<int,Scalar,ColMajor,false,false>::run), in EIGEN_BLAS_FUNC() 34 (general_matrix_vector_product_wrapper<int,Scalar,RowMajor,false,false>::run), in EIGEN_BLAS_FUNC() 36 (general_matrix_vector_product_wrapper<int,Scalar,RowMajor,Conj ,false>::run), in EIGEN_BLAS_FUNC() 40 const Scalar* a = reinterpret_cast<const Scalar*>(pa); in EIGEN_BLAS_FUNC() [all …]
|
D | level2_real_impl.h | 16 typedef void (*functype)(int, const Scalar*, int, const Scalar*, Scalar*, Scalar); in EIGEN_BLAS_FUNC() 19 (internal::selfadjoint_matrix_vector_product<Scalar,int,ColMajor,Upper,false,false>::run), in EIGEN_BLAS_FUNC() 21 (internal::selfadjoint_matrix_vector_product<Scalar,int,ColMajor,Lower,false,false>::run), in EIGEN_BLAS_FUNC() 24 const Scalar* a = reinterpret_cast<const Scalar*>(pa); in EIGEN_BLAS_FUNC() 25 const Scalar* x = reinterpret_cast<const Scalar*>(px); in EIGEN_BLAS_FUNC() 26 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 27 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha); in EIGEN_BLAS_FUNC() 28 Scalar beta = *reinterpret_cast<const Scalar*>(pbeta); in EIGEN_BLAS_FUNC() 43 const Scalar* actual_x = get_compact_vector(x,*n,*incx); in EIGEN_BLAS_FUNC() 44 Scalar* actual_y = get_compact_vector(y,*n,*incy); in EIGEN_BLAS_FUNC() [all …]
|
D | level2_cplx_impl.h | 22 typedef void (*functype)(int, const Scalar*, int, const Scalar*, Scalar*, Scalar); in EIGEN_BLAS_FUNC() 25 (internal::selfadjoint_matrix_vector_product<Scalar,int,ColMajor,Upper,false,false>::run), in EIGEN_BLAS_FUNC() 27 (internal::selfadjoint_matrix_vector_product<Scalar,int,ColMajor,Lower,false,false>::run), in EIGEN_BLAS_FUNC() 30 const Scalar* a = reinterpret_cast<const Scalar*>(pa); in EIGEN_BLAS_FUNC() 31 const Scalar* x = reinterpret_cast<const Scalar*>(px); in EIGEN_BLAS_FUNC() 32 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 33 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha); in EIGEN_BLAS_FUNC() 34 Scalar beta = *reinterpret_cast<const Scalar*>(pbeta); in EIGEN_BLAS_FUNC() 49 const Scalar* actual_x = get_compact_vector(x,*n,*incx); in EIGEN_BLAS_FUNC() 50 Scalar* actual_y = get_compact_vector(y,*n,*incy); in EIGEN_BLAS_FUNC() [all …]
|
D | level3_impl.h | 16 …enseIndex, const Scalar *, DenseIndex, const Scalar *, DenseIndex, Scalar *, DenseIndex, Scalar, i… in EIGEN_BLAS_FUNC() 19 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,ColMajor,false,Scalar,ColMajor,false,Co… in EIGEN_BLAS_FUNC() 21 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,RowMajor,false,Scalar,ColMajor,false,Co… in EIGEN_BLAS_FUNC() 23 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,RowMajor,Conj, Scalar,ColMajor,false,Co… in EIGEN_BLAS_FUNC() 26 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,ColMajor,false,Scalar,RowMajor,false,Co… in EIGEN_BLAS_FUNC() 28 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,RowMajor,false,Scalar,RowMajor,false,Co… in EIGEN_BLAS_FUNC() 30 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,RowMajor,Conj, Scalar,RowMajor,false,Co… in EIGEN_BLAS_FUNC() 33 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,ColMajor,false,Scalar,RowMajor,Conj, Co… in EIGEN_BLAS_FUNC() 35 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,RowMajor,false,Scalar,RowMajor,Conj, Co… in EIGEN_BLAS_FUNC() 37 …(internal::general_matrix_matrix_product<DenseIndex,Scalar,RowMajor,Conj, Scalar,RowMajor,Conj, Co… in EIGEN_BLAS_FUNC() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | MathFunctions.h | 68 …EN_MATHFUNC_IMPL(func, scalar) Eigen::internal::func##_impl<typename Eigen::internal::global_math_… 69 …FUNC_RETVAL(func, scalar) typename Eigen::internal::func##_retval<typename Eigen::internal::global… 75 template<typename Scalar, bool IsComplex = NumTraits<Scalar>::IsComplex> 78 typedef typename NumTraits<Scalar>::Real RealScalar; 80 static inline RealScalar run(const Scalar& x) 86 template<typename Scalar> 87 struct real_default_impl<Scalar,true> 89 typedef typename NumTraits<Scalar>::Real RealScalar; 91 static inline RealScalar run(const Scalar& x) 98 template<typename Scalar> struct real_impl : real_default_impl<Scalar> {}; [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorBase.h | 31 typedef typename DerivedTraits::Scalar Scalar; typedef 33 typedef typename internal::remove_const<Scalar>::type CoeffReturnType; 45 …EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> 46 constant(const Scalar& value) const { in constant() 47 return nullaryExpr(internal::scalar_constant_op<Scalar>(value)); in constant() 51 …EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::UniformRandomGenerator<Scalar>, const Der… 53 return nullaryExpr(internal::UniformRandomGenerator<Scalar>()); in random() 77 … EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_opposite_op<Scalar>, const Derived> 79 return unaryExpr(internal::scalar_opposite_op<Scalar>()); 83 EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> [all …]
|
/external/eigen/Eigen/src/plugins/ |
D | ArrayCwiseBinaryOps.h | 20 …G_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar,typename OtherDerived::Scalar>, c… 23 …return CwiseBinaryOp<internal::scalar_quotient_op<Scalar,typename OtherDerived::Scalar>, const Der… 35 /** \returns an expression of the coefficient-wise min of \c *this and scalar \a other in EIGEN_MAKE_CWISE_BINARY_OP() 40 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar>, const Derived, in EIGEN_MAKE_CWISE_BINARY_OP() 41 … const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> > in EIGEN_MAKE_CWISE_BINARY_OP() 47 (const Scalar &other) const in EIGEN_MAKE_CWISE_BINARY_OP() 61 /** \returns an expression of the coefficient-wise max of \c *this and scalar \a other in EIGEN_MAKE_CWISE_BINARY_OP() 66 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar>, const Derived, in EIGEN_MAKE_CWISE_BINARY_OP() 67 … const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> > in EIGEN_MAKE_CWISE_BINARY_OP() 73 (const Scalar &other) const in EIGEN_MAKE_CWISE_BINARY_OP() [all …]
|
/external/eigen/bench/ |
D | quat_slerp.cpp | 11 EIGEN_DONT_INLINE Q nlerp(const Q& a, const Q& b, typename Q::Scalar t) in nlerp() 17 EIGEN_DONT_INLINE Q slerp_eigen(const Q& a, const Q& b, typename Q::Scalar t) in slerp_eigen() 23 EIGEN_DONT_INLINE Q slerp_legacy(const Q& a, const Q& b, typename Q::Scalar t) in slerp_legacy() 25 typedef typename Q::Scalar Scalar; in slerp_legacy() typedef 26 static const Scalar one = Scalar(1) - dummy_precision<Scalar>(); in slerp_legacy() 27 Scalar d = a.dot(b); in slerp_legacy() 28 Scalar absD = internal::abs(d); in slerp_legacy() 33 Scalar theta = std::acos(absD); in slerp_legacy() 34 Scalar sinTheta = internal::sin(theta); in slerp_legacy() 36 Scalar scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy() [all …]
|
/external/eigen/test/ |
D | geo_hyperplane.cpp | 25 typedef typename HyperplaneType::Scalar Scalar; in hyperplane() typedef 27 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, 1> VectorType; in hyperplane() 28 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, in hyperplane() 41 Scalar s0 = internal::random<Scalar>(); in hyperplane() 42 Scalar s1 = internal::random<Scalar>(); in hyperplane() 44 VERIFY_IS_APPROX( n1.dot(n1), Scalar(1) ); in hyperplane() 46 VERIFY_IS_MUCH_SMALLER_THAN( pl0.absDistance(p0), Scalar(1) ); in hyperplane() 50 VERIFY_IS_MUCH_SMALLER_THAN( abs(pl1.signedDistance(p1 + n1 * s0) - s0), Scalar(1) ); in hyperplane() 51 VERIFY_IS_MUCH_SMALLER_THAN( pl1.signedDistance(pl1.projection(p0)), Scalar(1) ); in hyperplane() 52 …VERIFY_IS_MUCH_SMALLER_THAN( pl1.absDistance(p1 + pl1.normal().unitOrthogonal() * s1), Scalar(1) … in hyperplane() [all …]
|
D | geo_quaternion.cpp | 27 typedef typename QuatType::Scalar Scalar; in check_slerp() typedef 28 typedef AngleAxis<Scalar> AA; in check_slerp() 30 Scalar largeEps = test_precision<Scalar>(); in check_slerp() 32 Scalar theta_tot = AA(q1*q0.inverse()).angle(); in check_slerp() 33 if(theta_tot>Scalar(EIGEN_PI)) in check_slerp() 34 theta_tot = Scalar(2.)*Scalar(EIGEN_PI)-theta_tot; in check_slerp() 35 for(Scalar t=0; t<=Scalar(1.001); t+=Scalar(0.1)) in check_slerp() 38 Scalar theta = AA(q*q0.inverse()).angle(); in check_slerp() 45 template<typename Scalar, int Options> void quaternion(void) in quaternion() 51 typedef Matrix<Scalar,3,1> Vector3; in quaternion() [all …]
|
D | geo_transformations.cpp | 24 void dont_over_optimize(T& x) { volatile typename T::Scalar tmp = x(0); x(0) = tmp; } in dont_over_optimize() 26 template<typename Scalar, int Mode, int Options> void non_projective_only() in non_projective_only() 31 typedef Matrix<Scalar,3,1> Vector3; in non_projective_only() 32 typedef Quaternion<Scalar> Quaternionx; in non_projective_only() 33 typedef AngleAxis<Scalar> AngleAxisx; in non_projective_only() 34 typedef Transform<Scalar,3,Mode,Options> Transform3; in non_projective_only() 35 typedef DiagonalMatrix<Scalar,3> AlignedScaling3; in non_projective_only() 36 typedef Translation<Scalar,3> Translation3; in non_projective_only() 43 Scalar a = internal::random<Scalar>(-Scalar(EIGEN_PI), Scalar(EIGEN_PI)); in non_projective_only() 69 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>())); in non_projective_only() [all …]
|
D | packetmath.cpp | 32 template<typename Scalar> EIGEN_DONT_INLINE 33 bool isApproxAbs(const Scalar& a, const Scalar& b, const typename NumTraits<Scalar>::Real& refvalue) in isApproxAbs() 38 template<typename Scalar> bool areApproxAbs(const Scalar* a, const Scalar* b, int size, const typen… in areApproxAbs() 44 …:cout << "ref: [" << Map<const Matrix<Scalar,1,Dynamic> >(a,size) << "]" << " != vec: [" << Map<co… in areApproxAbs() 51 template<typename Scalar> bool areApprox(const Scalar* a, const Scalar* b, int size) in areApprox() 57 …:cout << "ref: [" << Map<const Matrix<Scalar,1,Dynamic> >(a,size) << "]" << " != vec: [" << Map<co… in areApprox() 112 template<typename Scalar> void packetmath() in packetmath() 115 typedef internal::packet_traits<Scalar> PacketTraits; in packetmath() 118 typedef typename NumTraits<Scalar>::Real RealScalar; in packetmath() 122 EIGEN_ALIGN_MAX Scalar data1[size]; in packetmath() [all …]
|
/external/eigen/Eigen/src/Core/products/ |
D | TriangularSolverMatrix.h | 18 template <typename Scalar, typename Index, int Side, int Mode, bool Conjugate, int TriStorageOrder> 19 struct triangular_solve_matrix<Scalar,Index,Side,Mode,Conjugate,TriStorageOrder,RowMajor> 23 const Scalar* tri, Index triStride, 24 Scalar* _other, Index otherStride, 25 level3_blocking<Scalar,Scalar>& blocking) 28 Scalar, Index, Side==OnTheLeft?OnTheRight:OnTheLeft, 30 NumTraits<Scalar>::IsComplex && Conjugate, 38 template <typename Scalar, typename Index, int Mode, bool Conjugate, int TriStorageOrder> 39 struct triangular_solve_matrix<Scalar,Index,OnTheLeft,Mode,Conjugate,TriStorageOrder,ColMajor> 43 const Scalar* _tri, Index triStride, [all …]
|
D | TriangularMatrixMatrix.h | 17 // template<typename Scalar, int mr, int StorageOrder, bool Conjugate, int Mode> 20 // Matrix<Scalar,mr,mr, 21 // void operator()(Scalar* blockA, const EIGEN_RESTRICT Scalar* _lhs, int lhsStride, int depth, i… 23 // conj_if<NumTraits<Scalar>::IsComplex && Conjugate> cj; 24 // const_blas_data_mapper<Scalar, StorageOrder> lhs(_lhs,lhsStride); 44 template <typename Scalar, typename Index, 51 template <typename Scalar, typename Index, 55 struct product_triangular_matrix_matrix<Scalar,Index,Mode,LhsIsTriangular, 61 const Scalar* lhs, Index lhsStride, 62 const Scalar* rhs, Index rhsStride, [all …]
|
/external/eigen/Eigen/src/Geometry/ |
D | Quaternion.h | 43 typedef typename internal::traits<Derived>::Scalar Scalar; typedef 44 typedef typename NumTraits<Scalar>::Real RealScalar; 50 // typedef typename Matrix<Scalar,4,1> Coefficients; 52 typedef Matrix<Scalar,3,1> Vector3; 54 typedef Matrix<Scalar,3,3> Matrix3; 56 typedef AngleAxis<Scalar> AngleAxisType; 61 EIGEN_DEVICE_FUNC inline Scalar x() const { return this->derived().coeffs().coeff(0); } in x() 63 EIGEN_DEVICE_FUNC inline Scalar y() const { return this->derived().coeffs().coeff(1); } in y() 65 EIGEN_DEVICE_FUNC inline Scalar z() const { return this->derived().coeffs().coeff(2); } in z() 67 EIGEN_DEVICE_FUNC inline Scalar w() const { return this->derived().coeffs().coeff(3); } in w() [all …]
|
/external/eigen/Eigen/src/Jacobi/ |
D | Jacobi.h | 34 template<typename Scalar> class JacobiRotation 37 typedef typename NumTraits<Scalar>::Real RealScalar; 43 JacobiRotation(const Scalar& c, const Scalar& s) : m_c(c), m_s(s) {} in JacobiRotation() 45 Scalar& c() { return m_c; } in c() 46 Scalar c() const { return m_c; } in c() 47 Scalar& s() { return m_s; } in s() 48 Scalar s() const { return m_s; } in s() 66 bool makeJacobi(const RealScalar& x, const Scalar& y, const RealScalar& z); 68 void makeGivens(const Scalar& p, const Scalar& q, Scalar* z=0); 71 void makeGivens(const Scalar& p, const Scalar& q, Scalar* z, internal::true_type); [all …]
|
/external/eigen/unsupported/test/ |
D | EulerAngles.cpp | 16 template<typename EulerSystem, typename Scalar> 17 void verify_euler_ranged(const Matrix<Scalar,3,1>& ea, in verify_euler_ranged() argument 20 typedef EulerAngles<Scalar, EulerSystem> EulerAnglesType; in verify_euler_ranged() 21 typedef Matrix<Scalar,3,3> Matrix3; in verify_euler_ranged() 22 typedef Matrix<Scalar,3,1> Vector3; in verify_euler_ranged() 23 typedef Quaternion<Scalar> QuaternionType; in verify_euler_ranged() 24 typedef AngleAxis<Scalar> AngleAxisType; in verify_euler_ranged() 27 Scalar alphaRangeStart, alphaRangeEnd; in verify_euler_ranged() 28 Scalar betaRangeStart, betaRangeEnd; in verify_euler_ranged() 29 Scalar gammaRangeStart, gammaRangeEnd; in verify_euler_ranged() [all …]
|
/external/snakeyaml/src/test/resources/pyyaml/ |
D | scalars.events | 5 - !Scalar { implicit: [true,true], value: 'empty scalar' } 6 - !Scalar { implicit: [true,false], value: '' } 7 - !Scalar { implicit: [true,true], value: 'implicit scalar' } 8 - !Scalar { implicit: [true,true], value: 'data' } 9 - !Scalar { implicit: [true,true], value: 'quoted scalar' } 10 - !Scalar { value: 'data', style: '"' } 11 - !Scalar { implicit: [true,true], value: 'block scalar' } 12 - !Scalar { value: 'data', style: '|' } 13 - !Scalar { implicit: [true,true], value: 'empty scalar with tag' } 14 - !Scalar { implicit: [false,false], tag: '!mytag', value: '' } [all …]
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
D | LevenbergMarquardt.h | 45 template<typename FunctorType, typename Scalar=double> 48 static Scalar sqrt_epsilon() in sqrt_epsilon() 51 return sqrt(NumTraits<Scalar>::epsilon()); in sqrt_epsilon() 62 : factor(Scalar(100.)) in Parameters() 66 , gtol(Scalar(0.)) in Parameters() 67 , epsfcn(Scalar(0.)) {} in Parameters() 68 Scalar factor; 70 Scalar ftol; 71 Scalar xtol; 72 Scalar gtol; [all …]
|
/external/eigen/unsupported/Eigen/src/AutoDiff/ |
D | AutoDiffScalar.h | 36 inline AutoDiffScalar<NewDerType> MakeAutoDiffScalar(const typename NewDerType::Scalar& value, cons… in MakeAutoDiffScalar() 41 * \brief A scalar type replacement with automatic differentation capability 43 * \param _DerType the vector type used to store/represent the derivatives. The base scalar type 52 …* This class represents a scalar value while tracking its respective derivatives using Eigen's exp… 60 * AutoDiffScalar can be used as the scalar type of an Eigen::Matrix object. However, 69 …internal::is_same<typename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar, 70 …ts<typename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar>::Real>::value> 74 …internal::is_same<typename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar, 75 …ypename internal::traits<typename internal::remove_all<_DerType>::type>::Scalar>::Real>::value> Ba… 77 typedef typename internal::traits<DerType>::Scalar Scalar; typedef [all …]
|