Searched refs:_Scalar (Results 1 - 25 of 64) sorted by relevance

123

/external/eigen/unsupported/test/
H A Dpolynomialutils.cpp28 template<typename _Scalar, int _Deg>
32 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType;
33 typedef Matrix<_Scalar,_Deg,1> EvalRootsType;
43 bool evalToZero = evr.isZero( test_precision<_Scalar>() );
49 template<typename _Scalar> void realRoots_to_monicPolynomial_scalar()
51 CALL_SUBTEST_2( (realRoots_to_monicPolynomial_test<_Scalar,2>(2)) );
52 CALL_SUBTEST_3( (realRoots_to_monicPolynomial_test<_Scalar,3>(3)) );
53 CALL_SUBTEST_4( (realRoots_to_monicPolynomial_test<_Scalar,4>(4)) );
54 CALL_SUBTEST_5( (realRoots_to_monicPolynomial_test<_Scalar,5>(5)) );
55 CALL_SUBTEST_6( (realRoots_to_monicPolynomial_test<_Scalar,
[all...]
H A Dpolynomialsolver.cpp165 template<typename _Scalar, int _Deg>
169 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType;
170 typedef Matrix<_Scalar,_Deg,1> EvalRootsType;
177 _Scalar multipleRoot = internal::random<_Scalar>();
189 typename NumTraits<_Scalar>::Real
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h25 * \param _Scalar the scalar type, i.e., the type of the coefficients
28 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, _AmbientDim>& hyperplane)
134 template <typename _Scalar, in
[all...]
H A DRotation2D.h20 * \param _Scalar the scalar type, i.e., the type of the coefficients
30 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;
H A 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>
H A DAngleAxis.h20 * \param _Scalar the scalar type, i.e., the type of the coefficients.
40 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/Geometry/
H A DParametrizedLine.h26 * \param _Scalar the scalar type, i.e., the type of the coefficients
29 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) const;
102 Scalar intersection(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) const;
105 VectorType intersectionPoint(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperplane) const;
144 template <typename _Scalar, int _AmbientDim, int _Options>
146 inline ParametrizedLine<_Scalar, _AmbientDi
[all...]
H A DRotation2D.h21 * \param _Scalar the scalar type, i.e., the type of the coefficients
34 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;
H A DAngleAxis.h21 * \param _Scalar the scalar type, i.e., the type of the coefficients.
42 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;
H A DQuaternion.h192 * \tparam _Scalar the scalar type, i.e., the type of the coefficients
212 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 Scala
[all...]
H A 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/
H A 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< Spline<_Scalar, _Dim, _Degree> >
67 typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType;
70 typedef Array<_Scalar,_Dim,Dynamic,ColMajor,_Dim,NumOfDerivativesAtCompileTime> DerivativeType;
H A DSpline.h28 * \tparam _Scalar The underlying data type (typically float or double)
34 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(
214 typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::Scalar u,
216 const typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::KnotVectorType& knots)
224 template <typename _Scalar, int _Dim, int _Degree>
225 typename Spline<_Scalar, _Dim, _Degree>::BasisVectorType
226 Spline<_Scalar, _Di
[all...]
/external/eigen/Eigen/src/SparseCore/
H A 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
35 template<typename _Scalar, int _Options, typename _Index>
36 typename internal::traits<SparseVector<_Scalar,_Options, _Index> >::Scalar
37 SparseVector<_Scalar,_Options,_Index>::sum() const
H A DAmbiVector.h22 template<typename _Scalar, typename _Index>
26 typedef _Scalar Scalar;
124 template<typename _Scalar,typename _Index>
125 _Index AmbiVector<_Scalar,_Index>::nonZeros() const
133 template<typename _Scalar,typename _Index>
134 void AmbiVector<_Scalar,_Index>::init(double estimatedDensity)
142 template<typename _Scalar,typename _Index>
143 void AmbiVector<_Scalar,_Index>::init(int mode)
158 template<typename _Scalar,typename _Index>
159 void AmbiVector<_Scalar,_Inde
[all...]
H A 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; typedef in struct:Eigen::internal::sparse_eval
105 typedef SparseVector<_Scalar, RowMajor, _Index> type;
109 typedef typename traits<T>::Scalar _Scalar; typedef in struct:Eigen::internal::sparse_eval
112 typedef SparseVector<_Scalar, ColMajor, _Index> type;
116 typedef typename traits<T>::Scalar _Scalar; typedef in struct:Eigen::internal::sparse_eval
120 typedef SparseMatrix<_Scalar, _Option
124 typedef typename traits<T>::Scalar _Scalar; typedef in struct:Eigen::internal::sparse_eval
131 typedef typename traits<T>::Scalar _Scalar; typedef in struct:Eigen::internal::plain_matrix_type
[all...]
/external/eigen/unsupported/Eigen/src/Skyline/
H A 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 in class:Eigen::internal::eval
82 typedef SkylineMatrix<_Scalar, _Flags> type;
/external/eigen/unsupported/Eigen/src/Polynomials/
H A 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
140 template< typename _Scalar, int _Deg >
142 bool companion<_Scalar,_Deg>::balanced( Scalar colNorm, Scalar rowNorm,
183 template< typename _Scalar, int _Deg >
185 bool companion<_Scalar,_Deg>::balancedR( Scalar colNorm, Scalar rowNorm,
195 const _Scalar q = colNorm/rowNorm;
196 if( !isApprox( q, _Scalar(
[all...]
H A 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;
62 * with the _Scalar template parameter of the PolynomialSolver class as the default value.
203 * with the _Scalar template parameter of the PolynomialSolver class as the default value.
226 * with the _Scalar template parameter of the PolynomialSolver class as the default value.
249 * with the _Scalar template parameter of the PolynomialSolver class as the default value.
272 * with the _Scalar template parameter of the PolynomialSolver class as the default value.
309 * \param _Scalar the scalar type, i.e., the type of the polynomial coefficients
330 template< typename _Scalar, in
[all...]
/external/eigen/test/eigen2/
H A Deigen2_swap.cpp19 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
20 struct other_matrix_type<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
22 typedef Matrix<_Scalar, _Rows, _Cols, _Options^RowMajor, _MaxRows, _MaxCols> type;
/external/eigen/unsupported/Eigen/src/SparseExtra/
H A DBlockOfDynamicSparseMatrix.h17 // NOTE Have to be reimplemented as a specialization of BlockImpl< DynamicSparseMatrix<_Scalar, _Options, _Index>, ... >
25 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>, Size> >
29 typedef DynamicSparseMatrix<_Scalar, _Options, _Index> MatrixType;
/external/eigen/test/
H A Dswap.cpp19 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
20 struct other_matrix_type<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
22 typedef Matrix<_Scalar, _Rows, _Cols, _Options^RowMajor, _MaxRows, _MaxCols> type;
/external/eigen/Eigen/src/Core/
H A 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>
H A 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, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
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> >
H A DDiagonalMatrix.h113 * \param _Scalar the type of coefficients
122 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
123 struct traits<DiagonalMatrix<_Scalar,SizeAtCompileTime,MaxSizeAtCompileTime> >
124 : traits<Matrix<_Scalar,SizeAtCompileTime,SizeAtCompileTime,0,MaxSizeAtCompileTime,MaxSizeAtCompileTime> >
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;

Completed in 261 milliseconds

123