Home | History | Annotate | Download | only in plugins

Lines Matching refs:block

17 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr;
18 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr;
20 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr;
21 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr;
22 /** \internal expression type of a block of whole columns */
23 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr;
24 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr;
25 /** \internal expression type of a block of whole rows */
26 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr;
27 typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr;
28 /** \internal expression type of a block of whole columns */
29 template<int N> struct NColsBlockXpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
30 template<int N> struct ConstNColsBlockXpr { typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
31 /** \internal expression type of a block of whole rows */
32 template<int N> struct NRowsBlockXpr { typedef Block<Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Type; };
33 template<int N> struct ConstNRowsBlockXpr { typedef const Block<const Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Type; };
38 /** \returns a dynamic-size expression of a block in *this.
40 * \param startRow the first row in the block
41 * \param startCol the first column in the block
42 * \param blockRows the number of rows in the block
43 * \param blockCols the number of columns in the block
52 * \sa class Block, block(Index,Index)
54 inline Block<Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols)
56 return Block<Derived>(derived(), startRow, startCol, blockRows, blockCols);
59 /** This is the const version of block(Index,Index,Index,Index). */
60 inline const Block<const Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols) const
62 return Block<const Derived>(derived(), startRow, startCol, blockRows, blockCols);
76 * \sa class Block, block(Index,Index,Index,Index)
78 inline Block<Derived> topRightCorner(Index cRows, Index cCols)
80 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols);
84 inline const Block<const Derived> topRightCorner(Index cRows, Index cCols) const
86 return Block<const Derived>(derived(), 0, cols() - cCols, cRows, cCols);
96 * \sa class Block, block(Index,Index,Index,Index)
99 inline Block<Derived, CRows, CCols> topRightCorner()
101 return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols);
106 inline const Block<const Derived, CRows, CCols> topRightCorner() const
108 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - CCols);
122 * \sa class Block, block(Index,Index,Index,Index)
124 inline Block<Derived> topLeftCorner(Index cRows, Index cCols)
126 return Block<Derived>(derived(), 0, 0, cRows, cCols);
130 inline const Block<const Derived> topLeftCorner(Index cRows, Index cCols) const
132 return Block<const Derived>(derived(), 0, 0, cRows, cCols);
142 * \sa class Block, block(Index,Index,Index,Index)
145 inline Block<Derived, CRows, CCols> topLeftCorner()
147 return Block<Derived, CRows, CCols>(derived(), 0, 0);
152 inline const Block<const Derived, CRows, CCols> topLeftCorner() const
154 return Block<const Derived, CRows, CCols>(derived(), 0, 0);
167 * \sa class Block, block(Index,Index,Index,Index)
169 inline Block<Derived> bottomRightCorner(Index cRows, Index cCols)
171 return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
175 inline const Block<const Derived> bottomRightCorner(Index cRows, Index cCols) const
177 return Block<const Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
187 * \sa class Block, block(Index,Index,Index,Index)
190 inline Block<Derived, CRows, CCols> bottomRightCorner()
192 return Block<Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols);
197 inline const Block<const Derived, CRows, CCols> bottomRightCorner() const
199 return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols);
212 * \sa class Block, block(Index,Index,Index,Index)
214 inline Block<Derived> bottomLeftCorner(Index cRows, Index cCols)
216 return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols);
220 inline const Block<const Derived> bottomLeftCorner(Index cRows, Index cCols) const
222 return Block<const Derived>(derived(), rows() - cRows, 0, cRows, cCols);
232 * \sa class Block, block(Index,Index,Index,Index)
235 inline Block<Derived, CRows, CCols> bottomLeftCorner()
237 return Block<Derived, CRows, CCols>(derived(), rows() - CRows, 0);
242 inline const Block<const Derived, CRows, CCols> bottomLeftCorner() const
244 return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, 0);
249 /** \returns a block consisting of the top rows of *this.
251 * \param n the number of rows in the block
256 * \sa class Block, block(Index,Index,Index,Index)
269 /** \returns a block consisting of the top rows of *this.
271 * \tparam N the number of rows in the block
276 * \sa class Block, block(Index,Index,Index,Index)
293 /** \returns a block consisting of the bottom rows of *this.
295 * \param n the number of rows in the block
300 * \sa class Block, block(Index,Index,Index,Index)
313 /** \returns a block consisting of the bottom rows of *this.
315 * \tparam N the number of rows in the block
320 * \sa class Block, block(Index,Index,Index,Index)
337 /** \returns a block consisting of a range of rows of *this.
339 * \param startRow the index of the first row in the block
340 * \param numRows the number of rows in the block
345 * \sa class Block, block(Index,Index,Index,Index)
358 /** \returns a block consisting of a range of rows of *this.
360 * \tparam N the number of rows in the block
361 * \param startRow the index of the first row in the block
366 * \sa class Block, block(Index,Index,Index,Index)
383 /** \returns a block consisting of the left columns of *this.
385 * \param n the number of columns in the block
390 * \sa class Block, block(Index,Index,Index,Index)
403 /** \returns a block consisting of the left columns of *this.
405 * \tparam N the number of columns in the block
410 * \sa class Block, block(Index,Index,Index,Index)
427 /** \returns a block consisting of the right columns of *this.
429 * \param n the number of columns in the block
434 * \sa class Block, block(Index,Index,Index,Index)
447 /** \returns a block consisting of the right columns of *this.
449 * \tparam N the number of columns in the block
454 * \sa class Block, block(Index,Index,Index,Index)
471 /** \returns a block consisting of a range of columns of *this.
473 * \param startCol the index of the first column in the block
474 * \param numCols the number of columns in the block
479 * \sa class Block, block(Index,Index,Index,Index)
492 /** \returns a block consisting of a range of columns of *this.
494 * \tparam N the number of columns in the block
495 * \param startCol the index of the first column in the block
500 * \sa class Block, block(Index,Index,Index,Index)
517 /** \returns a fixed-size expression of a block in *this.
520 * rows and columns in the block.
522 * \param startRow the first row in the block
523 * \param startCol the first column in the block
528 * \note since block is a templated member, the keyword template has to be used
529 * if the matrix type is also a template parameter: \code m.template block<3,3>(1,1); \endcode
531 * \sa class Block, block(Index,Index,Index,Index)
534 inline Block<Derived, BlockRows, BlockCols> block(Index startRow, Index startCol)
536 return Block<Derived, BlockRows, BlockCols>(derived(), startRow, startCol);
539 /** This is the const version of block<>(Index, Index). */
541 inline const Block<const Derived, BlockRows, BlockCols> block(Index startRow, Index startCol) const
543 return Block<const Derived, BlockRows, BlockCols>(derived(), startRow, startCol);
551 * \sa row(), class Block */
568 * \sa col(), class Block */