2#ifdef EIGEN_PARSED_BY_DOXYGEN
30template<
int Order = ColMajor,
typename NRowsType,
typename NColsType>
32inline Reshaped<Derived,...>
33reshaped(NRowsType nRows, NColsType nCols);
36template<
int Order = ColMajor,
typename NRowsType,
typename NColsType>
38inline const Reshaped<
const Derived,...>
39reshaped(NRowsType nRows, NColsType nCols)
const;
61template<
int Order = ColMajor>
63inline Reshaped<Derived,...>
67template<
int Order = ColMajor>
69inline const Reshaped<
const Derived,...>
76#ifndef EIGEN_RESHAPED_METHOD_2ND_PASS
77#define EIGEN_RESHAPED_METHOD_CONST const
79#define EIGEN_RESHAPED_METHOD_CONST
82#ifndef EIGEN_RESHAPED_METHOD_2ND_PASS
88template<
typename NRowsType,
typename NColsType>
91 internal::get_compiletime_reshape_size<NRowsType,NColsType,SizeAtCompileTime>::value,
92 internal::get_compiletime_reshape_size<NColsType,NRowsType,SizeAtCompileTime>::value>
96 internal::get_compiletime_reshape_size<NRowsType,NColsType,SizeAtCompileTime>::value,
97 internal::get_compiletime_reshape_size<NColsType,NRowsType,SizeAtCompileTime>::value>
103template<
int Order,
typename NRowsType,
typename NColsType>
106 internal::get_compiletime_reshape_size<NRowsType,NColsType,SizeAtCompileTime>::value,
107 internal::get_compiletime_reshape_size<NColsType,NRowsType,SizeAtCompileTime>::value,
108 internal::get_compiletime_reshape_order<Flags,Order>::value>
112 internal::get_compiletime_reshape_size<NRowsType,NColsType,SizeAtCompileTime>::value,
113 internal::get_compiletime_reshape_size<NColsType,NRowsType,SizeAtCompileTime>::value,
114 internal::get_compiletime_reshape_order<Flags,Order>::value>
123inline Reshaped<EIGEN_RESHAPED_METHOD_CONST Derived,SizeAtCompileTime,1>
126 return Reshaped<EIGEN_RESHAPED_METHOD_CONST Derived,SizeAtCompileTime,1>(derived(),
size(),1);
132 internal::get_compiletime_reshape_order<Flags,Order>::value>
137 internal::get_compiletime_reshape_order<Flags,Order>::value>
138 (derived(),
size(), 1);
141#undef EIGEN_RESHAPED_METHOD_CONST
143#ifndef EIGEN_RESHAPED_METHOD_2ND_PASS
144#define EIGEN_RESHAPED_METHOD_2ND_PASS
146#undef EIGEN_RESHAPED_METHOD_2ND_PASS
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:986
#define EIGEN_RESHAPED_METHOD_CONST
Definition: ReshapedMethods.h:77
EIGEN_DEVICE_FUNC Reshaped< EIGEN_RESHAPED_METHOD_CONST Derived, internal::get_compiletime_reshape_size< NRowsType, NColsType, SizeAtCompileTime >::value, internal::get_compiletime_reshape_size< NColsType, NRowsType, SizeAtCompileTime >::value > reshaped(NRowsType nRows, NColsType nCols) EIGEN_RESHAPED_METHOD_CONST
Definition: ReshapedMethods.h:93
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
@ ColMajor
Storage order is column major (see TopicStorageOrders).
Definition: Constants.h:319
@ RowMajor
Storage order is row major (see TopicStorageOrders).
Definition: Constants.h:321
Index get_runtime_reshape_size(SizeType size, Index, Index)
Definition: ReshapedHelper.h:27
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
EIGEN_DEVICE_FUNC Index get_runtime_value(const T &x)
Definition: IntegralConstant.h:156
const int AutoOrder
Definition: ReshapedHelper.h:17