Home
last modified time | relevance | path

Searched refs:_Scalar (Results 1 – 25 of 57) 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 …]
/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 …EIGEN_DEVICE_FUNC explicit ParametrizedLine(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& …
99 …EIGEN_DEVICE_FUNC Scalar intersectionParameter(const Hyperplane<_Scalar, _AmbientDim, OtherOptions…
102 …EIGEN_DEVICE_FUNC Scalar intersection(const Hyperplane<_Scalar, _AmbientDim, OtherOptions>& hyperp…
105 …EIGEN_DEVICE_FUNC VectorType intersectionPoint(const Hyperplane<_Scalar, _AmbientDim, OtherOptions…
181 template <typename _Scalar, int _AmbientDim, int _Options>
183 …GEN_DEVICE_FUNC inline ParametrizedLine<_Scalar, _AmbientDim,_Options>::ParametrizedLine(const Hyp… in ParametrizedLine() argument
192 template <typename _Scalar, int _AmbientDim, int _Options>
[all …]
DQuaternion.h259 template<typename _Scalar,int _Options>
260 struct traits<Quaternion<_Scalar,_Options> >
262 typedef Quaternion<_Scalar,_Options> PlainObject;
263 typedef _Scalar Scalar;
264 typedef Matrix<_Scalar,4,1,_Options> Coefficients;
272 template<typename _Scalar, int _Options>
273 class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
276 typedef QuaternionBase<Quaternion<_Scalar,_Options> > Base;
279 typedef _Scalar Scalar;
373 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;
/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. */
226 const typename Spline<_Scalar, _Dim, _Degree>::Scalar u,
229 const typename Spline<_Scalar, _Dim, _Degree>::KnotVectorType& U,
233 template <typename _Scalar, int _Dim, int _Degree>
234 DenseIndex Spline<_Scalar, _Dim, _Degree>::Span( in Span() argument
235 typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::Scalar u, in Span()
237 const typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::KnotVectorType& knots) in Span()
245 template <typename _Scalar, int _Dim, int _Degree>
246 typename Spline<_Scalar, _Dim, _Degree>::BasisVectorType
[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. */
65 template < typename _Scalar, int _Dim, int _Degree, int _DerivativeOrder >
66 …struct SplineTraits< Spline<_Scalar, _Dim, _Degree>, _DerivativeOrder > : public SplineTraits< Spl…
74 …typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> B…
77 …typedef Array<_Scalar,_Dim,Dynamic,DerivativeMemoryLayout,_Dim,NumOfDerivativesAtCompileTime> Deri…
/external/eigen/Eigen/src/SparseCore/
DMappedSparseMatrix.h26 template<typename _Scalar, int _Flags, typename _StorageIndex>
27 struct traits<MappedSparseMatrix<_Scalar, _Flags, _StorageIndex> > : traits<SparseMatrix<_Scalar, _…
31 template<typename _Scalar, int _Flags, typename _StorageIndex>
33 : public Map<SparseMatrix<_Scalar, _Flags, _StorageIndex> >
35 typedef Map<SparseMatrix<_Scalar, _Flags, _StorageIndex> > Base;
52 template<typename _Scalar, int _Options, typename _StorageIndex>
53 struct evaluator<MappedSparseMatrix<_Scalar,_Options,_StorageIndex> >
54 : evaluator<SparseCompressedBase<MappedSparseMatrix<_Scalar,_Options,_StorageIndex> > >
56 typedef MappedSparseMatrix<_Scalar,_Options,_StorageIndex> XprType;
DAmbiVector.h22 template<typename _Scalar, typename _StorageIndex>
26 typedef _Scalar Scalar;
128 template<typename _Scalar,typename _StorageIndex>
129 Index AmbiVector<_Scalar,_StorageIndex>::nonZeros() const in nonZeros()
137 template<typename _Scalar,typename _StorageIndex>
138 void AmbiVector<_Scalar,_StorageIndex>::init(double estimatedDensity) in init()
146 template<typename _Scalar,typename _StorageIndex>
147 void AmbiVector<_Scalar,_StorageIndex>::init(int mode) in init()
163 template<typename _Scalar,typename _StorageIndex>
164 void AmbiVector<_Scalar,_StorageIndex>::restart() in restart()
[all …]
DSparseUtil.h52 template<typename _Scalar, int _Flags = 0, typename _StorageIndex = int> class SparseMatrix;
53 template<typename _Scalar, int _Flags = 0, typename _StorageIndex = int> class DynamicSparseMatrix;
54 template<typename _Scalar, int _Flags = 0, typename _StorageIndex = int> class SparseVector;
55 template<typename _Scalar, int _Flags = 0, typename _StorageIndex = int> class MappedSparseMatrix;
83 typedef typename traits<T>::Scalar _Scalar;
86 typedef SparseVector<_Scalar, RowMajor, _StorageIndex> type;
90 typedef typename traits<T>::Scalar _Scalar;
93 typedef SparseVector<_Scalar, ColMajor, _StorageIndex> type;
98 typedef typename traits<T>::Scalar _Scalar;
102 typedef SparseMatrix<_Scalar, _Options, _StorageIndex> type;
[all …]
DSparseRedux.h28 template<typename _Scalar, int _Options, typename _Index>
29 typename internal::traits<SparseMatrix<_Scalar,_Options,_Index> >::Scalar
30 SparseMatrix<_Scalar,_Options,_Index>::sum() const in sum()
39 template<typename _Scalar, int _Options, typename _Index>
40 typename internal::traits<SparseVector<_Scalar,_Options, _Index> >::Scalar
41 SparseVector<_Scalar,_Options,_Index>::sum() const in sum()
DSparseVector.h29 template<typename _Scalar, int _Options, typename _StorageIndex>
30 struct traits<SparseVector<_Scalar, _Options, _StorageIndex> >
32 typedef _Scalar Scalar;
63 template<typename _Scalar, int _Options, typename _StorageIndex>
65 : public SparseCompressedBase<SparseVector<_Scalar, _Options, _StorageIndex> >
409 template<typename _Scalar, int _Options, typename _Index>
410 struct evaluator<SparseVector<_Scalar,_Options,_Index> >
411 : evaluator_base<SparseVector<_Scalar,_Options,_Index> >
413 typedef SparseVector<_Scalar,_Options,_Index> SparseVectorType;
419 CoeffReadCost = NumTraits<_Scalar>::ReadCost,
DSparseBlock.h286 template<typename _Scalar, int _Options, typename _StorageIndex, int BlockRows, int BlockCols>
287 class BlockImpl<SparseMatrix<_Scalar, _Options, _StorageIndex>,BlockRows,BlockCols,true,Sparse>
288 …: public internal::sparse_matrix_block_impl<SparseMatrix<_Scalar, _Options, _StorageIndex>,BlockRo…
292 typedef SparseMatrix<_Scalar, _Options, _StorageIndex> SparseMatrixType;
305 template<typename _Scalar, int _Options, typename _StorageIndex, int BlockRows, int BlockCols>
306 class BlockImpl<const SparseMatrix<_Scalar, _Options, _StorageIndex>,BlockRows,BlockCols,true,Spars…
307 …: public internal::sparse_matrix_block_impl<const SparseMatrix<_Scalar, _Options, _StorageIndex>,B…
311 typedef const SparseMatrix<_Scalar, _Options, _StorageIndex> SparseMatrixType;
548 template<typename _Scalar, int _Options, typename _StorageIndex, int BlockRows, int BlockCols>
549 struct unary_evaluator<Block<SparseMatrix<_Scalar, _Options, _StorageIndex>,BlockRows,BlockCols,tru…
[all …]
DSparseMatrix.h46 template<typename _Scalar, int _Options, typename _StorageIndex>
47 struct traits<SparseMatrix<_Scalar, _Options, _StorageIndex> >
49 typedef _Scalar Scalar;
63 template<typename _Scalar, int _Options, typename _StorageIndex, int DiagIndex>
64 struct traits<Diagonal<SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
66 typedef SparseMatrix<_Scalar, _Options, _StorageIndex> MatrixType;
70 typedef _Scalar Scalar;
84 template<typename _Scalar, int _Options, typename _StorageIndex, int DiagIndex>
85 struct traits<Diagonal<const SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
86 : public traits<Diagonal<SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
[all …]
/external/eigen/unsupported/Eigen/src/Polynomials/
DCompanion.h32 template< typename _Scalar, int _Deg >
36 … EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_Deg==Dynamic ? Dynamic : _Deg)
43 typedef _Scalar Scalar;
57 EIGEN_STRONG_INLINE const _Scalar operator()(Index row, Index col ) const in operator()
133 template< typename _Scalar, int _Deg >
135 bool companion<_Scalar,_Deg>::balanced( RealScalar colNorm, RealScalar rowNorm, in balanced()
187 template< typename _Scalar, int _Deg >
189 bool companion<_Scalar,_Deg>::balancedR( RealScalar colNorm, RealScalar rowNorm, in balancedR()
200 if( !isApprox( q, _Scalar(1) ) ) in balancedR()
214 template< typename _Scalar, int _Deg >
[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;
398 template< typename _Scalar >
399 class PolynomialSolver<_Scalar,1> : public PolynomialSolverBase<_Scalar,1>
402 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/
DAlignedVector340 template<typename _Scalar> class AlignedVector3;
43 template<typename _Scalar> struct traits<AlignedVector3<_Scalar> >
44 : traits<Matrix<_Scalar,3,1,0,4,1> >
49 template<typename _Scalar> class AlignedVector3
50 : public MatrixBase<AlignedVector3<_Scalar> >
52 typedef Matrix<_Scalar,4,1> CoeffType;
56 typedef MatrixBase<AlignedVector3<_Scalar> > Base;
210 template<typename _Scalar>
211 struct eval<AlignedVector3<_Scalar>, Dense>
213 typedef const AlignedVector3<_Scalar>& type;
/external/eigen/unsupported/Eigen/src/SparseExtra/
DDynamicSparseMatrix.h36 template<typename _Scalar, int _Options, typename _StorageIndex>
37 struct traits<DynamicSparseMatrix<_Scalar, _Options, _StorageIndex> >
39 typedef _Scalar Scalar;
55 template<typename _Scalar, int _Options, typename _StorageIndex>
57 : public SparseMatrixBase<DynamicSparseMatrix<_Scalar, _Options, _StorageIndex> >
373 template<typename _Scalar, int _Options, typename _StorageIndex>
374 struct evaluator<DynamicSparseMatrix<_Scalar,_Options,_StorageIndex> >
375 : evaluator_base<DynamicSparseMatrix<_Scalar,_Options,_StorageIndex> >
377 typedef _Scalar Scalar;
378 typedef DynamicSparseMatrix<_Scalar,_Options,_StorageIndex> SparseMatrixType;
[all …]
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/unsupported/Eigen/src/EulerAngles/
DEulerAngles.h99 template <typename _Scalar, class _System>
100 class EulerAngles : public RotationBase<EulerAngles<_Scalar, _System>, 3>
103 typedef RotationBase<EulerAngles<_Scalar, _System>, 3> Base;
106 typedef _Scalar Scalar;
325 template<typename _Scalar, class _System> in EIGEN_EULER_ANGLES_TYPEDEFS()
326 struct traits<EulerAngles<_Scalar, _System> > in EIGEN_EULER_ANGLES_TYPEDEFS()
328 typedef _Scalar Scalar; in EIGEN_EULER_ANGLES_TYPEDEFS()
/external/eigen/Eigen/src/IterativeLinearSolvers/
DBasicPreconditioners.h35 template <typename _Scalar>
38 typedef _Scalar Scalar;
127 template <typename _Scalar>
128 class LeastSquareDiagonalPreconditioner : public DiagonalPreconditioner<_Scalar>
130 typedef _Scalar Scalar;
132 typedef DiagonalPreconditioner<_Scalar> Base;
/external/eigen/Eigen/src/Core/
DMatrix.h17 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
18 struct traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
22 typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
27 default_alignment = compute_default_alignment<_Scalar,max_size>::value,
30 …packet_access_bit = (packet_traits<_Scalar>::Vectorizable && (EIGEN_UNALIGNED_VECTORIZE || (actual…
34 typedef _Scalar Scalar;
43 Flags = compute_matrix_flags<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::ret,
177 template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
179 : public PlainObjectBase<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DIncompleteLU.h15 template <typename _Scalar>
16 class IncompleteLU : public SparseSolverBase<IncompleteLU<_Scalar> >
19 typedef SparseSolverBase<IncompleteLU<_Scalar> > Base;
22 typedef _Scalar Scalar;
/external/eigen/Eigen/src/CholmodSupport/
DCholmodSupport.h57 template<typename _Scalar, int _Options, typename _StorageIndex>
58 cholmod_sparse viewAsCholmod(Ref<SparseMatrix<_Scalar,_Options,_StorageIndex> > mat)
97 internal::cholmod_configure_matrix<_Scalar>::run(res);
104 template<typename _Scalar, int _Options, typename _Index>
105 const cholmod_sparse viewAsCholmod(const SparseMatrix<_Scalar,_Options,_Index>& mat)
107 …cholmod_sparse res = viewAsCholmod(Ref<SparseMatrix<_Scalar,_Options,_Index> >(mat.const_cast_deri…
111 template<typename _Scalar, int _Options, typename _Index>
112 const cholmod_sparse viewAsCholmod(const SparseVector<_Scalar,_Options,_Index>& mat)
114 …cholmod_sparse res = viewAsCholmod(Ref<SparseMatrix<_Scalar,_Options,_Index> >(mat.const_cast_deri…
120 template<typename _Scalar, int _Options, typename _Index, unsigned int UpLo>
[all …]

123