11#ifndef EIGEN_PARSED_BY_DOXYGEN
14typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor>
ColXpr;
15typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor>
ConstColXpr;
17typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor>
RowXpr;
18typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor>
ConstRowXpr;
20typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime,
Dynamic, !IsRowMajor>
ColsBlockXpr;
23typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor>
RowsBlockXpr;
24typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor>
ConstRowsBlockXpr;
26template<
int N>
struct NColsBlockXpr {
typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor>
Type; };
27template<
int N>
struct ConstNColsBlockXpr {
typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor>
Type; };
29template<
int N>
struct NRowsBlockXpr {
typedef Block<Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor>
Type; };
30template<
int N>
struct ConstNRowsBlockXpr {
typedef const Block<const Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor>
Type; };
35template<
int Rows,
int Cols>
struct FixedBlockXpr {
typedef Block<Derived,Rows,Cols>
Type; };
89template<
typename NRowsType,
typename NColsType>
91#ifndef EIGEN_PARSED_BY_DOXYGEN
103template<
typename NRowsType,
typename NColsType>
105#ifndef EIGEN_PARSED_BY_DOXYGEN
135template<
typename NRowsType,
typename NColsType>
137#ifndef EIGEN_PARSED_BY_DOXYGEN
149template<
typename NRowsType,
typename NColsType>
151#ifndef EIGEN_PARSED_BY_DOXYGEN
174template<
int CRows,
int CCols>
182template<
int CRows,
int CCols>
208template<
int CRows,
int CCols>
216template<
int CRows,
int CCols>
242template<
typename NRowsType,
typename NColsType>
244#ifndef EIGEN_PARSED_BY_DOXYGEN
256template<
typename NRowsType,
typename NColsType>
258#ifndef EIGEN_PARSED_BY_DOXYGEN
280template<
int CRows,
int CCols>
288template<
int CRows,
int CCols>
314template<
int CRows,
int CCols>
322template<
int CRows,
int CCols>
348template<
typename NRowsType,
typename NColsType>
350#ifndef EIGEN_PARSED_BY_DOXYGEN
363template<
typename NRowsType,
typename NColsType>
365#ifndef EIGEN_PARSED_BY_DOXYGEN
388template<
int CRows,
int CCols>
396template<
int CRows,
int CCols>
422template<
int CRows,
int CCols>
430template<
int CRows,
int CCols>
456template<
typename NRowsType,
typename NColsType>
458#ifndef EIGEN_PARSED_BY_DOXYGEN
471template<
typename NRowsType,
typename NColsType>
473#ifndef EIGEN_PARSED_BY_DOXYGEN
496template<
int CRows,
int CCols>
504template<
int CRows,
int CCols>
530template<
int CRows,
int CCols>
538template<
int CRows,
int CCols>
563template<
typename NRowsType>
565#ifndef EIGEN_PARSED_BY_DOXYGEN
577template<
typename NRowsType>
579#ifndef EIGEN_PARSED_BY_DOXYGEN
638template<
typename NRowsType>
640#ifndef EIGEN_PARSED_BY_DOXYGEN
652template<
typename NRowsType>
654#ifndef EIGEN_PARSED_BY_DOXYGEN
714template<
typename NRowsType>
716#ifndef EIGEN_PARSED_BY_DOXYGEN
728template<
typename NRowsType>
730#ifndef EIGEN_PARSED_BY_DOXYGEN
790template<
typename NColsType>
792#ifndef EIGEN_PARSED_BY_DOXYGEN
804template<
typename NColsType>
806#ifndef EIGEN_PARSED_BY_DOXYGEN
865template<
typename NColsType>
867#ifndef EIGEN_PARSED_BY_DOXYGEN
879template<
typename NColsType>
881#ifndef EIGEN_PARSED_BY_DOXYGEN
941template<
typename NColsType>
943#ifndef EIGEN_PARSED_BY_DOXYGEN
955template<
typename NColsType>
957#ifndef EIGEN_PARSED_BY_DOXYGEN
1025template<
int NRows,
int NCols>
1033template<
int NRows,
int NCols>
1071template<
int NRows,
int NCols>
1080template<
int NRows,
int NCols>
1099 return ColXpr(derived(), i);
1120 return RowXpr(derived(), i);
1151template<
typename NType>
1153#ifndef EIGEN_PARSED_BY_DOXYGEN
1167template<
typename NType>
1169#ifndef EIGEN_PARSED_BY_DOXYGEN
1201template<
typename NType>
1203#ifndef EIGEN_PARSED_BY_DOXYGEN
1216template<
typename NType>
1218#ifndef EIGEN_PARSED_BY_DOXYGEN
1250template<
typename NType>
1252#ifndef EIGEN_PARSED_BY_DOXYGEN
1265template<
typename NType>
1267#ifndef EIGEN_PARSED_BY_DOXYGEN
1397 return Block<Derived,Dynamic,Dynamic,true>(derived(),
1398 IsRowMajor ? outerStart : 0, IsRowMajor ? 0 : outerStart,
1399 IsRowMajor ? outerSize : rows(), IsRowMajor ? cols() : outerSize);
1410 return Block<const Derived,Dynamic,Dynamic,true>(derived(),
1411 IsRowMajor ? outerStart : 0, IsRowMajor ? 0 : outerStart,
1412 IsRowMajor ? outerSize : rows(), IsRowMajor ? cols() : outerSize);
1419template<DirectionType Direction>
1428template<DirectionType Direction>
1439template<DirectionType Direction>
1442{
return (Direction==
Vertical)?cols():rows(); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ColXpr col(Index i)
This is the const version of col().
Definition: BlockMethods.h:1097
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type tail(NType n)
Definition: BlockMethods.h:1257
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::conditional< Direction==Vertical, ColXpr, RowXpr >::type subVector(Index i)
Definition: BlockMethods.h:1422
const Block< const Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > ConstRowXpr
Definition: BlockMethods.h:18
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index subVectors() const
Definition: BlockMethods.h:1441
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type topRows(NRowsType n)
Definition: BlockMethods.h:570
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type segment(Index start, NType n)
Definition: BlockMethods.h:1158
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type middleRows(Index startRow, NRowsType n)
Definition: BlockMethods.h:721
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type bottomRightCorner(NRowsType cRows, NColsType cCols)
Definition: BlockMethods.h:355
Block< Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > RowsBlockXpr
Definition: BlockMethods.h:23
Block< Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic, !IsRowMajor > ColsBlockXpr
Definition: BlockMethods.h:20
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type rightCols(NColsType n)
Definition: BlockMethods.h:872
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type bottomRows(NRowsType n)
Definition: BlockMethods.h:645
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type middleCols(Index startCol, NColsType numCols)
Definition: BlockMethods.h:948
Block< Derived, IsRowMajor?1:Dynamic, IsRowMajor?Dynamic:1, true > InnerVectorReturnType
Definition: BlockMethods.h:44
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type topRightCorner(NRowsType cRows, NColsType cCols)
Definition: BlockMethods.h:142
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type topLeftCorner(NRowsType cRows, NColsType cCols)
Definition: BlockMethods.h:249
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type leftCols(NColsType n)
Definition: BlockMethods.h:797
Block< Derived > BlockXpr
Definition: BlockMethods.h:32
const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic, !IsRowMajor > ConstColsBlockXpr
Definition: BlockMethods.h:21
Block< const Derived, IsRowMajor?1:Dynamic, IsRowMajor?Dynamic:1, true > ConstInnerVectorReturnType
Definition: BlockMethods.h:45
Block< Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > RowXpr
Definition: BlockMethods.h:17
Block< const Derived, Dynamic, Dynamic, true > ConstInnerVectorsReturnType
Definition: BlockMethods.h:49
VectorBlock< Derived > SegmentReturnType
Definition: BlockMethods.h:38
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type bottomLeftCorner(NRowsType cRows, NColsType cCols)
Definition: BlockMethods.h:463
Block< Derived, Dynamic, Dynamic, true > InnerVectorsReturnType
Definition: BlockMethods.h:48
const Block< const Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > ConstRowsBlockXpr
Definition: BlockMethods.h:24
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE RowXpr row(Index i)
This is the const version of row(). */.
Definition: BlockMethods.h:1118
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE InnerVectorsReturnType innerVectors(Index outerStart, Index outerSize)
Definition: BlockMethods.h:1395
const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajor > ConstColXpr
Definition: BlockMethods.h:15
const VectorBlock< const Derived > ConstSegmentReturnType
Definition: BlockMethods.h:39
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE InnerVectorReturnType innerVector(Index outer)
Definition: BlockMethods.h:1380
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type block(Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols)
Definition: BlockMethods.h:96
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type head(NType n)
Definition: BlockMethods.h:1208
Block< Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajor > ColXpr
Definition: BlockMethods.h:14
const Block< const Derived > ConstBlockXpr
Definition: BlockMethods.h:33
#define EIGEN_CONSTEXPR
Definition: Macros.h:797
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:986
#define EIGEN_STRONG_INLINE
Definition: Macros.h:927
#define EIGEN_DOC_BLOCK_ADDONS_INNER_PANEL_IF(COND)
Definition: SparseMatrixBase.h:160
#define EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL
Definition: SparseMatrixBase.h:159
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
Definition: StaticAssert.h:142
type
Definition: core.h:575
@ Vertical
For Reverse, all columns are reversed; for PartialReduxExpr and VectorwiseOp, act on columns.
Definition: Constants.h:264
Type
Definition: Constants.h:471
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
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
const int Dynamic
This value means that a positive quantity (e.g., a size) is not known at compile-time,...
Definition: Constants.h:22
Definition: BlockMethods.h:36
Block< const Derived, Rows, Cols > Type
Definition: BlockMethods.h:36
Definition: BlockMethods.h:41
const VectorBlock< const Derived, Size > Type
Definition: BlockMethods.h:41
Definition: BlockMethods.h:27
const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, N, !IsRowMajor > Type
Definition: BlockMethods.h:27
Definition: BlockMethods.h:30
const Block< const Derived, N, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > Type
Definition: BlockMethods.h:30
Definition: BlockMethods.h:35
Block< Derived, Rows, Cols > Type
Definition: BlockMethods.h:35
Definition: BlockMethods.h:40
VectorBlock< Derived, Size > Type
Definition: BlockMethods.h:40
Definition: BlockMethods.h:26
Block< Derived, internal::traits< Derived >::RowsAtCompileTime, N, !IsRowMajor > Type
Definition: BlockMethods.h:26
Definition: BlockMethods.h:29
Block< Derived, N, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > Type
Definition: BlockMethods.h:29