Searched refs:SizeAtCompileTime (Results 1 - 25 of 46) sorted by relevance

12

/external/eigen/test/
H A Dzerosized.cpp29 if (MatrixType::SizeAtCompileTime == Dynamic || MatrixType::SizeAtCompileTime == 0)
54 if (VectorType::SizeAtCompileTime == Dynamic || VectorType::SizeAtCompileTime==0)
H A Dsizeof.cpp16 VERIFY(std::ptrdiff_t(sizeof(MatrixType))==std::ptrdiff_t(sizeof(Scalar))*std::ptrdiff_t(MatrixType::SizeAtCompileTime));
H A Ddiagonal.cpp36 if(MatrixType::SizeAtCompileTime!=Dynamic)
/external/eigen/Eigen/src/Core/util/
H A DStaticAssert.h132 EIGEN_STATIC_ASSERT(TYPE::SizeAtCompileTime!=Eigen::Dynamic, \
137 EIGEN_STATIC_ASSERT(TYPE::SizeAtCompileTime==Eigen::Dynamic, \
142 EIGEN_STATIC_ASSERT(TYPE::IsVectorAtCompileTime && TYPE::SizeAtCompileTime==SIZE, \
153 (int(TYPE0::SizeAtCompileTime)==Eigen::Dynamic \
154 || int(TYPE1::SizeAtCompileTime)==Eigen::Dynamic \
155 || int(TYPE0::SizeAtCompileTime)==int(TYPE1::SizeAtCompileTime)),\
160 (int(TYPE0::SizeAtCompileTime)==0 && int(TYPE1::SizeAtCompileTime)==0) \
H A DMacros.h350 SizeAtCompileTime = Base::SizeAtCompileTime, \
369 SizeAtCompileTime = Base::SizeAtCompileTime, \
H A DForwardDeclarations.h97 template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime=SizeAtCompileTime> class DiagonalMatrix;
100 template<int SizeAtCompileTime, int MaxSizeAtCompileTime = SizeAtCompileTime, typename IndexType=int> class PermutationMatrix;
101 template<int SizeAtCompileTime, int MaxSizeAtCompileTime = SizeAtCompileTime, typename IndexType=int> class Transpositions;
/external/eigen/Eigen/src/Core/
H A DBooleanRedux.h82 unroll = SizeAtCompileTime != Dynamic
85 && SizeAtCompileTime * (CoeffReadCost + NumTraits<Scalar>::AddCost) <= EIGEN_UNROLLING_LIMIT
88 return internal::all_unroller<Derived, unroll ? int(SizeAtCompileTime) : Dynamic>::run(derived());
106 unroll = SizeAtCompileTime != Dynamic
109 && SizeAtCompileTime * (CoeffReadCost + NumTraits<Scalar>::AddCost) <= EIGEN_UNROLLING_LIMIT
112 return internal::any_unroller<Derived, unroll ? int(SizeAtCompileTime) : Dynamic>::run(derived());
H A DDiagonalMatrix.h28 RowsAtCompileTime = DiagonalVectorType::SizeAtCompileTime,
29 ColsAtCompileTime = DiagonalVectorType::SizeAtCompileTime,
38 typedef DiagonalMatrix<Scalar,DiagonalVectorType::SizeAtCompileTime,DiagonalVectorType::MaxSizeAtCompileTime> PlainObject;
114 * \param SizeAtCompileTime the dimension of the matrix, or Dynamic
116 * to SizeAtCompileTime. Most of the time, you do not need to specify it.
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,
[all...]
H A DNumTraits.h139 ReadCost = ArrayType::SizeAtCompileTime==Dynamic ? Dynamic : ArrayType::SizeAtCompileTime * NumTraits<Scalar>::ReadCost,
140 AddCost = ArrayType::SizeAtCompileTime==Dynamic ? Dynamic : ArrayType::SizeAtCompileTime * NumTraits<Scalar>::AddCost,
141 MulCost = ArrayType::SizeAtCompileTime==Dynamic ? Dynamic : ArrayType::SizeAtCompileTime * NumTraits<Scalar>::MulCost
H A DPermutationMatrix.h73 typedef PermutationMatrix<IndicesType::SizeAtCompileTime,IndicesType::MaxSizeAtCompileTime,Index>
263 * \param SizeAtCompileTime the number of rows/cols, or Dynamic
264 * \param MaxSizeAtCompileTime the maximum number of rows/cols, or Dynamic. This optional parameter defaults to SizeAtCompileTime. Most of the time, you should not have to specify it.
273 template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
274 struct traits<PermutationMatrix<SizeAtCompileTime, MaxSizeAtCompileTime, IndexType> >
275 : traits<Matrix<IndexType,SizeAtCompileTime,SizeAtCompileTime,0,MaxSizeAtCompileTime,MaxSizeAtCompileTime> >
278 typedef Matrix<IndexType, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1> IndicesType;
282 template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
283 class PermutationMatrix : public PermutationBase<PermutationMatrix<SizeAtCompileTime, MaxSizeAtCompileTim
[all...]
H A DTranspositions.h20 * \param SizeAtCompileTime the number of transpositions, or Dynamic
21 * \param MaxSizeAtCompileTime the maximum number of transpositions, or Dynamic. This optional parameter defaults to SizeAtCompileTime. Most of the time, you should not have to specify it.
147 template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
148 struct traits<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,IndexType> >
151 typedef Matrix<Index, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1> IndicesType;
155 template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
156 class Transpositions : public TranspositionsBase<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,IndexType> >
218 template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType, int _PacketAccess>
219 struct traits<Map<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,IndexType>,_PacketAccess> >
222 typedef Map<const Matrix<Index,SizeAtCompileTime,
[all...]
H A DRedux.h53 Cost = ( Derived::SizeAtCompileTime == Dynamic
55 || (Derived::SizeAtCompileTime!=1 && functor_traits<Func>::Cost == Dynamic)
57 : Derived::SizeAtCompileTime * Derived::CoeffReadCost
58 + (Derived::SizeAtCompileTime-1) * functor_traits<Func>::Cost,
189 : public redux_novec_unroller<Func,Derived, 0, Derived::SizeAtCompileTime>
296 Size = Derived::SizeAtCompileTime,
361 if(SizeAtCompileTime==0 || (SizeAtCompileTime==Dynamic && size()==0))
388 if(SizeAtCompileTime==0 || (SizeAtCompileTime
[all...]
H A DVisitor.h79 enum { unroll = SizeAtCompileTime != Dynamic
81 && (SizeAtCompileTime == 1 || internal::functor_traits<Visitor>::Cost != Dynamic)
82 && SizeAtCompileTime * CoeffReadCost + (SizeAtCompileTime-1) * internal::functor_traits<Visitor>::Cost
85 unroll ? int(SizeAtCompileTime) : Dynamic
H A DMapBase.h36 SizeAtCompileTime = Base::SizeAtCompileTime enumerator in enum:Eigen::MapBase::__anon20652
53 // using Base::SizeAtCompileTime;
139 eigen_assert(dataPtr == 0 || SizeAtCompileTime == Dynamic || SizeAtCompileTime == vecSize);
H A DSolveTriangular.h35 Unrolling = (RhsIsVectorAtCompileTime && Rhs::SizeAtCompileTime != Dynamic && Rhs::SizeAtCompileTime <= 8)
143 { triangular_solver_unroller<Lhs,Rhs,Mode,0,Rhs::SizeAtCompileTime>::run(lhs,rhs); }
155 0,Rhs::SizeAtCompileTime>::run(trLhs,trRhs);
H A DBandMatrix.h44 SizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(RowsAtCompileTime,ColsAtCompileTime) enumerator in enum:Eigen::internal::BandMatrixBase::__anon20508
84 inline Block<CoefficientsType,1,SizeAtCompileTime> diagonal()
85 { return Block<CoefficientsType,1,SizeAtCompileTime>(coeffs(),supers(),0,1,(std::min)(rows(),cols())); }
88 inline const Block<const CoefficientsType,1,SizeAtCompileTime> diagonal() const
89 { return Block<const CoefficientsType,1,SizeAtCompileTime>(coeffs(),supers(),0,1,(std::min)(rows(),cols())); }
H A DAssign.h36 InnerSize = int(Derived::IsVectorAtCompileTime) ? int(Derived::SizeAtCompileTime)
42 MaxSizeAtCompileTime = Derived::SizeAtCompileTime,
79 MayUnrollCompletely = int(Derived::SizeAtCompileTime) != Dynamic
81 && int(Derived::SizeAtCompileTime) * int(OtherDerived::CoeffReadCost) <= int(UnrollingLimit),
274 assign_DefaultTraversal_CompleteUnrolling<Derived1, Derived2, 0, Derived1::SizeAtCompileTime>
313 assign_LinearTraversal_CompleteUnrolling<Derived1, Derived2, 0, Derived1::SizeAtCompileTime>
342 assign_innervec_CompleteUnrolling<Derived1, Derived2, 0, Derived1::SizeAtCompileTime>
423 enum { size = Derived1::SizeAtCompileTime,
515 && int(Derived::SizeAtCompileTime) != 1>
H A DTriangularMatrix.h613 unroll = MatrixType::SizeAtCompileTime != Dynamic
615 && MatrixType::SizeAtCompileTime*internal::traits<OtherDerived>::CoeffReadCost/2 <= EIGEN_UNROLLING_LIMIT
621 unroll ? int(MatrixType::SizeAtCompileTime) : Dynamic,
650 unroll = MatrixType::SizeAtCompileTime != Dynamic
652 && MatrixType::SizeAtCompileTime * internal::traits<OtherDerived>::CoeffReadCost / 2
659 unroll ? int(MatrixType::SizeAtCompileTime) : Dynamic,
691 unroll = DenseDerived::SizeAtCompileTime != Dynamic
693 && DenseDerived::SizeAtCompileTime * internal::traits<Derived>::CoeffReadCost / 2
700 unroll ? int(DenseDerived::SizeAtCompileTime) : Dynamic,
H A DArray.h139 eigen_assert(SizeAtCompileTime == Dynamic || SizeAtCompileTime == dim);
H A DCwiseNullaryOp.h258 return DenseBase<Derived>::NullaryExpr(Derived::SizeAtCompileTime, internal::linspaced_op<Scalar,false>(low,high,Derived::SizeAtCompileTime));
292 return DenseBase<Derived>::NullaryExpr(Derived::SizeAtCompileTime, internal::linspaced_op<Scalar,true>(low,high,Derived::SizeAtCompileTime));
740 template<typename Derived, bool Big = (Derived::SizeAtCompileTime>=16)>
/external/eigen/bench/
H A Dbasicbenchmark.h18 if (MatrixType::SizeAtCompileTime!=Eigen::Dynamic) asm("#fixedsize");
24 if (MatrixType::SizeAtCompileTime!=Eigen::Dynamic) asm("#fixedsize");
30 if (MatrixType::SizeAtCompileTime!=Eigen::Dynamic) asm("#fixedsize");
/external/eigen/Eigen/src/Eigen2Support/
H A DLeastSquares.h91 typedef Hyperplane<Scalar, VectorType::SizeAtCompileTime> HyperplaneType;
136 typedef Matrix<Scalar,VectorType::SizeAtCompileTime,VectorType::SizeAtCompileTime> CovMatrixType;
/external/eigen/Eigen/src/Householder/
H A DHouseholder.h44 VectorBlock<Derived, internal::decrement_size<Base::SizeAtCompileTime>::ret> essentialPart(derived(), 1, size()-1);
74 VectorBlock<const Derived, EssentialPart::SizeAtCompileTime> tail(derived(), 1, size()-1);
124 Block<Derived, EssentialPart::SizeAtCompileTime, Derived::ColsAtCompileTime> bottom(derived(), 1, 0, rows()-1, cols());
161 Block<Derived, Derived::RowsAtCompileTime, EssentialPart::SizeAtCompileTime> right(derived(), 0, 1, rows(), cols()-1);
/external/eigen/test/eigen2/
H A Deigen2_sizeof.cpp16 VERIFY(sizeof(MatrixType)==sizeof(Scalar)*MatrixType::SizeAtCompileTime);
/external/eigen/Eigen/src/SparseCore/
H A DSparseUtil.h57 SizeAtCompileTime = Base::SizeAtCompileTime, \

Completed in 1762 milliseconds

12