Home
last modified time | relevance | path

Searched refs:_Scalar (Results 1 – 25 of 65) sorted by relevance

123

/external/eigen/unsupported/test/
Dpolynomialutils.cpp28 template<typename _Scalar, int _Deg>
32 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType; in realRoots_to_monicPolynomial_test()
33 typedef Matrix<_Scalar,_Deg,1> EvalRootsType; in realRoots_to_monicPolynomial_test()
43 bool evalToZero = evr.isZero( test_precision<_Scalar>() ); in realRoots_to_monicPolynomial_test()
49 template<typename _Scalar> void realRoots_to_monicPolynomial_scalar() in realRoots_to_monicPolynomial_scalar()
51 CALL_SUBTEST_2( (realRoots_to_monicPolynomial_test<_Scalar,2>(2)) ); in realRoots_to_monicPolynomial_scalar()
52 CALL_SUBTEST_3( (realRoots_to_monicPolynomial_test<_Scalar,3>(3)) ); in realRoots_to_monicPolynomial_scalar()
53 CALL_SUBTEST_4( (realRoots_to_monicPolynomial_test<_Scalar,4>(4)) ); in realRoots_to_monicPolynomial_scalar()
54 CALL_SUBTEST_5( (realRoots_to_monicPolynomial_test<_Scalar,5>(5)) ); in realRoots_to_monicPolynomial_scalar()
55 CALL_SUBTEST_6( (realRoots_to_monicPolynomial_test<_Scalar,6>(6)) ); in realRoots_to_monicPolynomial_scalar()
[all …]
Dpolynomialsolver.cpp165 template<typename _Scalar, int _Deg>
169 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType; in polynomialsolver()
170 typedef Matrix<_Scalar,_Deg,1> EvalRootsType; in polynomialsolver()
177 _Scalar multipleRoot = internal::random<_Scalar>(); in polynomialsolver()
189 typename NumTraits<_Scalar>::Real in polynomialsolver()
/external/eigen/Eigen/src/Geometry/
DParametrizedLine.h29 template <typename _Scalar, int _AmbientDim, int _Options>
33 EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_AmbientDim)
38 typedef _Scalar Scalar;
62 explicit ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane);
99 …Scalar intersectionParameter(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) con…
102 Scalar intersection(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) const;
105 …VectorType intersectionPoint(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) con…
144 template <typename _Scalar, int _AmbientDim, int _Options>
146 inline ParametrizedLine<_Scalar, _AmbientDim,_Options>::ParametrizedLine(const Hyperplane<_Scalar, … in ParametrizedLine() argument
155 template <typename _Scalar, int _AmbientDim, int _Options>
[all …]
DRotation2D.h34 template<typename _Scalar> struct traits<Rotation2D<_Scalar> >
36 typedef _Scalar Scalar;
40 template<typename _Scalar>
41 class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
43 typedef RotationBase<Rotation2D<_Scalar>,2> Base;
51 typedef _Scalar Scalar;
DQuaternion.h212 template<typename _Scalar,int _Options>
213 struct traits<Quaternion<_Scalar,_Options> >
215 typedef Quaternion<_Scalar,_Options> PlainObject;
216 typedef _Scalar Scalar;
217 typedef Matrix<_Scalar,4,1,_Options> Coefficients;
225 template<typename _Scalar, int _Options>
226 class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
228 typedef QuaternionBase<Quaternion<_Scalar,_Options> > Base;
232 typedef _Scalar Scalar;
305 template<typename _Scalar, int _Options>
[all …]
DAngleAxis.h42 template<typename _Scalar> struct traits<AngleAxis<_Scalar> >
44 typedef _Scalar Scalar;
48 template<typename _Scalar>
49 class AngleAxis : public RotationBase<AngleAxis<_Scalar>,3>
51 typedef RotationBase<AngleAxis<_Scalar>,3> Base;
59 typedef _Scalar Scalar;
DRotationBase.h138 template<typename _Scalar, int _Rows, int _Cols, int _Storage, int _MaxRows, int _MaxCols>
140 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
151 template<typename _Scalar, int _Rows, int _Cols, int _Storage, int _MaxRows, int _MaxCols>
153 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>&
154 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
/external/eigen/unsupported/Eigen/src/Splines/
DSpline.h34 template <typename _Scalar, int _Dim, int _Degree>
38 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */
212 template <typename _Scalar, int _Dim, int _Degree>
213 DenseIndex Spline<_Scalar, _Dim, _Degree>::Span( in Span() argument
214 typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::Scalar u, in Span()
216 const typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::KnotVectorType& knots) in Span()
224 template <typename _Scalar, int _Dim, int _Degree>
225 typename Spline<_Scalar, _Dim, _Degree>::BasisVectorType
226 Spline<_Scalar, _Dim, _Degree>::BasisFunctions( in BasisFunctions()
227 typename Spline<_Scalar, _Dim, _Degree>::Scalar u, in BasisFunctions() argument
[all …]
DSplineFwd.h25 template <typename _Scalar, int _Dim, int _Degree>
26 struct SplineTraits< Spline<_Scalar, _Dim, _Degree>, Dynamic >
28 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */
60 template < typename _Scalar, int _Dim, int _Degree, int _DerivativeOrder >
61 …struct SplineTraits< Spline<_Scalar, _Dim, _Degree>, _DerivativeOrder > : public SplineTraits< Spl…
67 …typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> B…
70 … typedef Array<_Scalar,_Dim,Dynamic,ColMajor,_Dim,NumOfDerivativesAtCompileTime> DerivativeType;
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DParametrizedLine.h28 template <typename _Scalar, int _AmbientDim>
32 EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_AmbientDim)
34 typedef _Scalar Scalar;
51 explicit ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim>& hyperplane);
85 Scalar intersection(const Hyperplane<_Scalar, _AmbientDim>& hyperplane);
124 template <typename _Scalar, int _AmbientDim>
125 inline ParametrizedLine<_Scalar, _AmbientDim>::ParametrizedLine(const Hyperplane<_Scalar, _AmbientD… in ParametrizedLine() argument
134 template <typename _Scalar, int _AmbientDim>
135 inline _Scalar ParametrizedLine<_Scalar, _AmbientDim>::intersection(const Hyperplane<_Scalar, _Ambi… in intersection() argument
DRotation2D.h30 template<typename _Scalar> struct ei_traits<Rotation2D<_Scalar> >
32 typedef _Scalar Scalar;
35 template<typename _Scalar>
36 class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
38 typedef RotationBase<Rotation2D<_Scalar>,2> Base;
46 typedef _Scalar Scalar;
DRotationBase.h61 template<typename _Scalar, int _Rows, int _Cols, int _Storage, int _MaxRows, int _MaxCols>
63 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
74 template<typename _Scalar, int _Rows, int _Cols, int _Storage, int _MaxRows, int _MaxCols>
76 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>&
77 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
DAngleAxis.h40 template<typename _Scalar> struct ei_traits<AngleAxis<_Scalar> >
42 typedef _Scalar Scalar;
45 template<typename _Scalar>
46 class AngleAxis : public RotationBase<AngleAxis<_Scalar>,3>
48 typedef RotationBase<AngleAxis<_Scalar>,3> Base;
56 typedef _Scalar Scalar;
/external/eigen/Eigen/src/SparseCore/
DAmbiVector.h22 template<typename _Scalar, typename _Index>
26 typedef _Scalar Scalar;
124 template<typename _Scalar,typename _Index>
125 _Index AmbiVector<_Scalar,_Index>::nonZeros() const in nonZeros()
133 template<typename _Scalar,typename _Index>
134 void AmbiVector<_Scalar,_Index>::init(double estimatedDensity) in init()
142 template<typename _Scalar,typename _Index>
143 void AmbiVector<_Scalar,_Index>::init(int mode) in init()
158 template<typename _Scalar,typename _Index>
159 void AmbiVector<_Scalar,_Index>::restart() in restart()
[all …]
DSparseUtil.h71 template<typename _Scalar, int _Flags = 0, typename _Index = int> class SparseMatrix;
72 template<typename _Scalar, int _Flags = 0, typename _Index = int> class DynamicSparseMatrix;
73 template<typename _Scalar, int _Flags = 0, typename _Index = int> class SparseVector;
74 template<typename _Scalar, int _Flags = 0, typename _Index = int> class MappedSparseMatrix;
102 typedef typename traits<T>::Scalar _Scalar;
105 typedef SparseVector<_Scalar, RowMajor, _Index> type;
109 typedef typename traits<T>::Scalar _Scalar;
112 typedef SparseVector<_Scalar, ColMajor, _Index> type;
116 typedef typename traits<T>::Scalar _Scalar;
120 typedef SparseMatrix<_Scalar, _Options, _Index> type;
[all …]
DSparseRedux.h27 template<typename _Scalar, int _Options, typename _Index>
28 typename internal::traits<SparseMatrix<_Scalar,_Options,_Index> >::Scalar
29 SparseMatrix<_Scalar,_Options,_Index>::sum() const in sum()
35 template<typename _Scalar, int _Options, typename _Index>
36 typename internal::traits<SparseVector<_Scalar,_Options, _Index> >::Scalar
37 SparseVector<_Scalar,_Options,_Index>::sum() const in sum()
DMappedSparseMatrix.h25 template<typename _Scalar, int _Flags, typename _Index>
26 struct traits<MappedSparseMatrix<_Scalar, _Flags, _Index> > : traits<SparseMatrix<_Scalar, _Flags, …
30 template<typename _Scalar, int _Flags, typename _Index>
32 : public SparseMatrixBase<MappedSparseMatrix<_Scalar, _Flags, _Index> >
/external/eigen/unsupported/Eigen/src/Polynomials/
DCompanion.h38 template< typename _Scalar, int _Deg >
42 … EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_Deg==Dynamic ? Dynamic : _Deg)
49 typedef _Scalar Scalar;
63 EIGEN_STRONG_INLINE const _Scalar operator()(Index row, Index col ) const in operator()
140 template< typename _Scalar, int _Deg >
142 bool companion<_Scalar,_Deg>::balanced( Scalar colNorm, Scalar rowNorm, in balanced()
183 template< typename _Scalar, int _Deg >
185 bool companion<_Scalar,_Deg>::balancedR( Scalar colNorm, Scalar rowNorm, in balancedR()
195 const _Scalar q = colNorm/rowNorm; in balancedR()
196 if( !isApprox( q, _Scalar(1) ) ) in balancedR()
[all …]
DPolynomialSolver.h28 template< typename _Scalar, int _Deg >
32 … EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_Deg==Dynamic ? Dynamic : _Deg)
34 typedef _Scalar Scalar;
330 template< typename _Scalar, int _Deg >
331 class PolynomialSolver : public PolynomialSolverBase<_Scalar,_Deg>
334 … EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_Deg==Dynamic ? Dynamic : _Deg)
336 typedef PolynomialSolverBase<_Scalar,_Deg> PS_Base;
367 template< typename _Scalar >
368 class PolynomialSolver<_Scalar,1> : public PolynomialSolverBase<_Scalar,1>
371 typedef PolynomialSolverBase<_Scalar,1> PS_Base;
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineUtil.h64 template<typename _Scalar, int _Flags = 0> class SkylineMatrix;
65 template<typename _Scalar, int _Flags = 0> class DynamicSkylineMatrix;
66 template<typename _Scalar, int _Flags = 0> class SkylineVector;
67 template<typename _Scalar, int _Flags = 0> class MappedSkylineMatrix;
76 typedef typename traits<T>::Scalar _Scalar; typedef
82 typedef SkylineMatrix<_Scalar, _Flags> type;
/external/eigen/unsupported/Eigen/
DAlignedVector338 template<typename _Scalar> class AlignedVector3;
41 template<typename _Scalar> struct traits<AlignedVector3<_Scalar> >
42 : traits<Matrix<_Scalar,3,1,0,4,1> >
47 template<typename _Scalar> class AlignedVector3
48 : public MatrixBase<AlignedVector3<_Scalar> >
50 typedef Matrix<_Scalar,4,1> CoeffType;
54 typedef MatrixBase<AlignedVector3<_Scalar> > Base;
/external/eigen/unsupported/Eigen/src/SparseExtra/
DBlockOfDynamicSparseMatrix.h25 template<typename _Scalar, int _Options, typename _Index, int Size>
26 class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Size>
27 …: public SparseMatrixBase<SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Siz…
29 typedef DynamicSparseMatrix<_Scalar, _Options, _Index> MatrixType;
/external/eigen/Eigen/src/Core/
DDiagonalMatrix.h122 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
123 struct traits<DiagonalMatrix<_Scalar,SizeAtCompileTime,MaxSizeAtCompileTime> >
124 …: traits<Matrix<_Scalar,SizeAtCompileTime,SizeAtCompileTime,0,MaxSizeAtCompileTime,MaxSizeAtCompil…
126 typedef Matrix<_Scalar,SizeAtCompileTime,1,0,MaxSizeAtCompileTime,1> DiagonalVectorType;
134 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
136 : public DiagonalBase<DiagonalMatrix<_Scalar,SizeAtCompileTime,MaxSizeAtCompileTime> >
142 typedef _Scalar Scalar;
DArray.h33 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
34 struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar,…
37 typedef ArrayBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > XprBase;
41 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
43 : public PlainObjectBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
DMap.h176 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
177 inline Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>
183 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
184 inline Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>

123