Home | History | Annotate | Download | only in plugins

Lines Matching refs:Block

15 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr;
16 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr;
18 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr;
19 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr;
20 /** \internal expression type of a block of whole columns */
21 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr;
22 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr;
23 /** \internal expression type of a block of whole rows */
24 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr;
25 typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr;
26 /** \internal expression type of a block of whole columns */
27 template<int N> struct NColsBlockXpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
28 template<int N> struct ConstNColsBlockXpr { typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
29 /** \internal expression type of a block of whole rows */
30 template<int N> struct NRowsBlockXpr { typedef Block<Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Type; };
31 template<int N> struct ConstNRowsBlockXpr { typedef const Block<const Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Type; };
40 /** \returns a dynamic-size expression of a block in *this.
42 * \param startRow the first row in the block
43 * \param startCol the first column in the block
44 * \param blockRows the number of rows in the block
45 * \param blockCols the number of columns in the block
54 * \sa class Block, block(Index,Index)
56 inline Block<Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols)
58 return Block<Derived>(derived(), startRow, startCol, blockRows, blockCols);
61 /** This is the const version of block(Index,Index,Index,Index). */
62 inline const Block<const Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols) const
64 return Block<const Derived>(derived(), startRow, startCol, blockRows, blockCols);
78 * \sa class Block, block(Index,Index,Index,Index)
80 inline Block<Derived> topRightCorner(Index cRows, Index cCols)
82 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols);
86 inline const Block<const Derived> topRightCorner(Index cRows, Index cCols) const
88 return Block<const Derived>(derived(), 0, cols() - cCols, cRows, cCols);
99 * \sa class Block, block<int,int>(Index,Index)
102 inline Block<Derived, CRows, CCols> topRightCorner()
104 return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols);
109 inline const Block<const Derived, CRows, CCols> topRightCorner() const
111 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - CCols);
129 * \sa class Block
132 inline Block<Derived, CRows, CCols> topRightCorner(Index cRows, Index cCols)
134 return Block<Derived, CRows, CCols>(derived(), 0, cols() - cCols, cRows, cCols);
139 inline const Block<const Derived, CRows, CCols> topRightCorner(Index cRows, Index cCols) const
141 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - cCols, cRows, cCols);
154 * \sa class Block, block(Index,Index,Index,Index)
156 inline Block<Derived> topLeftCorner(Index cRows, Index cCols)
158 return Block<Derived>(derived(), 0, 0, cRows, cCols);
162 inline const Block<const Derived> topLeftCorner(Index cRows, Index cCols) const
164 return Block<const Derived>(derived(), 0, 0, cRows, cCols);
174 * \sa class Block, block(Index,Index,Index,Index)
177 inline Block<Derived, CRows, CCols> topLeftCorner()
179 return Block<Derived, CRows, CCols>(derived(), 0, 0);
184 inline const Block<const Derived, CRows, CCols> topLeftCorner() const
186 return Block<const Derived, CRows, CCols>(derived(), 0, 0);
204 * \sa class Block
207 inline Block<Derived, CRows, CCols> topLeftCorner(Index cRows, Index cCols)
209 return Block<Derived, CRows, CCols>(derived(), 0, 0, cRows, cCols);
214 inline const Block<const Derived, CRows, CCols> topLeftCorner(Index cRows, Index cCols) const
216 return Block<const Derived, CRows, CCols>(derived(), 0, 0, cRows, cCols);
229 * \sa class Block, block(Index,Index,Index,Index)
231 inline Block<Derived> bottomRightCorner(Index cRows, Index cCols)
233 return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
237 inline const Block<const Derived> bottomRightCorner(Index cRows, Index cCols) const
239 return Block<const Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
249 * \sa class Block, block(Index,Index,Index,Index)
252 inline Block<Derived, CRows, CCols> bottomRightCorner()
254 return Block<Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols);
259 inline const Block<const Derived, CRows, CCols> bottomRightCorner() const
261 return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols);
279 * \sa class Block
282 inline Block<Derived, CRows, CCols> bottomRightCorner(Index cRows, Index cCols)
284 return Block<Derived, CRows, CCols>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
289 inline const Block<const Derived, CRows, CCols> bottomRightCorner(Index cRows, Index cCols) const
291 return Block<const Derived, CRows, CCols>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
304 * \sa class Block, block(Index,Index,Index,Index)
306 inline Block<Derived> bottomLeftCorner(Index cRows, Index cCols)
308 return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols);
312 inline const Block<const Derived> bottomLeftCorner(Index cRows, Index cCols) const
314 return Block<const Derived>(derived(), rows() - cRows, 0, cRows, cCols);
324 * \sa class Block, block(Index,Index,Index,Index)
327 inline Block<Derived, CRows, CCols> bottomLeftCorner()
329 return Block<Derived, CRows, CCols>(derived(), rows() - CRows, 0);
334 inline const Block<const Derived, CRows, CCols> bottomLeftCorner() const
336 return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, 0);
354 * \sa class Block
357 inline Block<Derived, CRows, CCols> bottomLeftCorner(Index cRows, Index cCols)
359 return Block<Derived, CRows, CCols>(derived(), rows() - cRows, 0, cRows, cCols);
364 inline const Block<const Derived, CRows, CCols> bottomLeftCorner(Index cRows, Index cCols) const
366 return Block<const Derived, CRows, CCols>(derived(), rows() - cRows, 0, cRows, cCols);
371 /** \returns a block consisting of the top rows of *this.
373 * \param n the number of rows in the block
378 * \sa class Block, block(Index,Index,Index,Index)
391 /** \returns a block consisting of the top rows of *this.
393 * \tparam N the number of rows in the block as specified at compile-time
394 * \param n the number of rows in the block as specified at run-time
402 * \sa class Block, block(Index,Index,Index,Index)
419 /** \returns a block consisting of the bottom rows of *this.
421 * \param n the number of rows in the block
426 * \sa class Block, block(Index,Index,Index,Index)
439 /** \returns a block consisting of the bottom rows of *this.
441 * \tparam N the number of rows in the block as specified at compile-time
442 * \param n the number of rows in the block as specified at run-time
450 * \sa class Block, block(Index,Index,Index,Index)
467 /** \returns a block consisting of a range of rows of *this.
469 * \param startRow the index of the first row in the block
470 * \param n the number of rows in the block
475 * \sa class Block, block(Index,Index,Index,Index)
488 /** \returns a block consisting of a range of rows of *this.
490 * \tparam N the number of rows in the block as specified at compile-time
491 * \param startRow the index of the first row in the block
492 * \param n the number of rows in the block as specified at run-time
500 * \sa class Block, block(Index,Index,Index,Index)
517 /** \returns a block consisting of the left columns of *this.
519 * \param n the number of columns in the block
524 * \sa class Block, block(Index,Index,Index,Index)
537 /** \returns a block consisting of the left columns of *this.
539 * \tparam N the number of columns in the block as specified at compile-time
540 * \param n the number of columns in the block as specified at run-time
548 * \sa class Block, block(Index,Index,Index,Index)
565 /** \returns a block consisting of the right columns of *this.
567 * \param n the number of columns in the block
572 * \sa class Block, block(Index,Index,Index,Index)
585 /** \returns a block consisting of the right columns of *this.
587 * \tparam N the number of columns in the block as specified at compile-time
588 * \param n the number of columns in the block as specified at run-time
596 * \sa class Block, block(Index,Index,Index,Index)
613 /** \returns a block consisting of a range of columns of *this.
615 * \param startCol the index of the first column in the block
616 * \param numCols the number of columns in the block
621 * \sa class Block, block(Index,Index,Index,Index)
634 /** \returns a block consisting of a range of columns of *this.
636 * \tparam N the number of columns in the block as specified at compile-time
637 * \param startCol the index of the first column in the block
638 * \param n the number of columns in the block as specified at run-time
646 * \sa class Block, block(Index,Index,Index,Index)
663 /** \returns a fixed-size expression of a block in *this.
666 * rows and columns in the block.
668 * \param startRow the first row in the block
669 * \param startCol the first column in the block
674 * \note since block is a templated member, the keyword template has to be used
675 * if the matrix type is also a template parameter: \code m.template block<3,3>(1,1); \endcode
677 * \sa class Block, block(Index,Index,Index,Index)
680 inline Block<Derived, BlockRows, BlockCols> block(Index startRow, Index startCol)
682 return Block<Derived, BlockRows, BlockCols>(derived(), startRow, startCol);
685 /** This is the const version of block<>(Index, Index). */
687 inline const Block<const Derived, BlockRows, BlockCols> block(Index startRow, Index startCol) const
689 return Block<const Derived, BlockRows, BlockCols>(derived(), startRow, startCol);
692 /** \returns an expression of a block in *this.
694 * \tparam BlockRows number of rows in block as specified at compile-time
695 * \tparam BlockCols number of columns in block as specified at compile-time
696 * \param startRow the first row in the block
697 * \param startCol the first column in the block
698 * \param blockRows number of rows in block as specified at run-time
699 * \param blockCols number of columns in block as specified at run-time
709 * \sa class Block, block(Index,Index,Index,Index)
712 inline Block<Derived, BlockRows, BlockCols> block(Index startRow, Index startCol,
715 return Block<Derived, BlockRows, BlockCols>(derived(), startRow, startCol, blockRows, blockCols);
718 /** This is the const version of block<>(Index, Index, Index, Index). */
720 inline const Block<const Derived, BlockRows, BlockCols> block(Index startRow, Index startCol,
723 return Block<const Derived, BlockRows, BlockCols>(derived(), startRow, startCol, blockRows, blockCols);
731 * \sa row(), class Block */
748 * \sa col(), class Block */
760 /** \returns a dynamic-size expression of a segment (i.e. a vector block) in *this.
774 * \sa class Block, segment(Index)
803 * \sa class Block, block(Index,Index)
831 * \sa class Block, block(Index,Index)
846 /** \returns a fixed-size expression of a segment (i.e. a vector block) in \c *this
860 * \sa class Block
890 * \sa class Block
920 * \sa class Block