Home
last modified time | relevance | path

Searched refs:_Scalar (Results 1 – 25 of 62) 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.cpp167 template<typename _Scalar, int _Deg>
171 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType; in polynomialsolver()
172 typedef Matrix<_Scalar,_Deg,1> EvalRootsType; in polynomialsolver()
179 _Scalar multipleRoot = internal::random<_Scalar>(); in polynomialsolver()
191 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 …]
DQuaternion.h213 template<typename _Scalar,int _Options>
214 struct traits<Quaternion<_Scalar,_Options> >
216 typedef Quaternion<_Scalar,_Options> PlainObject;
217 typedef _Scalar Scalar;
218 typedef Matrix<_Scalar,4,1,_Options> Coefficients;
226 template<typename _Scalar, int _Options>
227 class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
229 typedef QuaternionBase<Quaternion<_Scalar,_Options> > Base;
233 typedef _Scalar Scalar;
306 template<typename _Scalar, 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;
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. */
197 template <typename _Scalar, int _Dim, int _Degree>
198 DenseIndex Spline<_Scalar, _Dim, _Degree>::Span( in Span() argument
199 typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::Scalar u, in Span()
201 const typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::KnotVectorType& knots) in Span()
209 template <typename _Scalar, int _Dim, int _Degree>
210 typename Spline<_Scalar, _Dim, _Degree>::BasisVectorType
211 Spline<_Scalar, _Dim, _Degree>::BasisFunctions( in BasisFunctions()
212 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/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;
101 typedef typename traits<T>::Scalar _Scalar;
104 typedef SparseVector<_Scalar, _Flags> type;
108 typedef typename traits<T>::Scalar _Scalar;
111 typedef SparseVector<_Scalar, _Flags> type;
115 typedef typename traits<T>::Scalar _Scalar;
118 typedef SparseMatrix<_Scalar, _Flags> 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/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/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;
327 template< typename _Scalar, int _Deg >
328 class PolynomialSolver : public PolynomialSolverBase<_Scalar,_Deg>
331 … EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_Deg==Dynamic ? Dynamic : _Deg)
333 typedef PolynomialSolverBase<_Scalar,_Deg> PS_Base;
364 template< typename _Scalar >
365 class PolynomialSolver<_Scalar,1> : public PolynomialSolverBase<_Scalar,1>
368 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/Eigen/src/Core/
DDiagonalMatrix.h105 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
106 struct traits<DiagonalMatrix<_Scalar,SizeAtCompileTime,MaxSizeAtCompileTime> >
107 …: traits<Matrix<_Scalar,SizeAtCompileTime,SizeAtCompileTime,0,MaxSizeAtCompileTime,MaxSizeAtCompil…
109 typedef Matrix<_Scalar,SizeAtCompileTime,1,0,MaxSizeAtCompileTime,1> DiagonalVectorType;
117 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
119 : public DiagonalBase<DiagonalMatrix<_Scalar,SizeAtCompileTime,MaxSizeAtCompileTime> >
125 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> >
/external/eigen/unsupported/Eigen/src/SparseExtra/
DBlockOfDynamicSparseMatrix.h19 template<typename _Scalar, int _Options, typename _Index, int Size>
20 class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Size>
21 …: public SparseMatrixBase<SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Siz…
23 typedef DynamicSparseMatrix<_Scalar, _Options, _Index> MatrixType;
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h52 template<typename _Scalar, int _Rows, int _Cols,
98 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime=SizeAtCompileTime> class…
134 template<typename _Scalar, int Rows=Dynamic, int Cols=Dynamic, int Supers=Dynamic, int Subs=Dynamic…
194 template<typename _Scalar, int _Rows, int _Cols,
246 template <typename _Scalar, int _AmbientDim> class eigen2_ParametrizedLine;
247 template <typename _Scalar, int _AmbientDim> class eigen2_Hyperplane;
255 template <typename _Scalar, int _AmbientDim> class ParametrizedLine;
256 template <typename _Scalar, int _AmbientDim> class Hyperplane;
263 template <typename _Scalar, int _AmbientDim, int Options=AutoAlign> class ParametrizedLine;
264 template <typename _Scalar, int _AmbientDim, int Options=AutoAlign> class Hyperplane;

123