Lines Matching full:ccols
73 * \param cCols the number of columns in the corner
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);
94 * \tparam CCols the number of columns in the corner
101 template<int CRows, int CCols>
102 inline Block<Derived, CRows, CCols> topRightCorner()
104 return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols);
108 template<int CRows, int CCols>
109 inline const Block<const Derived, CRows, CCols> topRightCorner() const
111 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - CCols);
117 * \tparam CCols number of columns in corner as specified at compile-time
119 * \param cCols number of columns in corner as specified at run-time
131 template<int CRows, int CCols>
132 inline Block<Derived, CRows, CCols> topRightCorner(Index cRows, Index cCols)
134 return Block<Derived, CRows, CCols>(derived(), 0, cols() - cCols, cRows, cCols);
138 template<int CRows, int 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);
149 * \param cCols the number of columns in the corner
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);
169 * The template parameters CRows and CCols are the number of rows and columns in the corner.
176 template<int CRows, int CCols>
177 inline Block<Derived, CRows, CCols> topLeftCorner()
179 return Block<Derived, CRows, CCols>(derived(), 0, 0);
183 template<int CRows, int CCols>
184 inline const Block<const Derived, CRows, CCols> topLeftCorner() const
186 return Block<const Derived, CRows, CCols>(derived(), 0, 0);
192 * \tparam CCols number of columns in corner as specified at compile-time
194 * \param cCols number of columns in corner as specified at run-time
206 template<int CRows, int CCols>
207 inline Block<Derived, CRows, CCols> topLeftCorner(Index cRows, Index cCols)
209 return Block<Derived, CRows, CCols>(derived(), 0, 0, cRows, cCols);
213 template<int CRows, int 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);
224 * \param cCols the number of columns in the corner
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);
244 * The template parameters CRows and CCols are the number of rows and columns in the corner.
251 template<int CRows, int CCols>
252 inline Block<Derived, CRows, CCols> bottomRightCorner()
254 return Block<Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols);
258 template<int CRows, int CCols>
259 inline const Block<const Derived, CRows, CCols> bottomRightCorner() const
261 return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols);
267 * \tparam CCols number of columns in corner as specified at compile-time
269 * \param cCols number of columns in corner as specified at run-time
281 template<int CRows, int CCols>
282 inline Block<Derived, CRows, CCols> bottomRightCorner(Index cRows, Index cCols)
284 return Block<Derived, CRows, CCols>(derived(), rows() - cRows, cols() - cCols, cRows, cCols);
288 template<int CRows, int 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);
299 * \param cCols the number of columns in the corner
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);
319 * The template parameters CRows and CCols are the number of rows and columns in the corner.
326 template<int CRows, int CCols>
327 inline Block<Derived, CRows, CCols> bottomLeftCorner()
329 return Block<Derived, CRows, CCols>(derived(), rows() - CRows, 0);
333 template<int CRows, int CCols>
334 inline const Block<const Derived, CRows, CCols> bottomLeftCorner() const
336 return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, 0);
342 * \tparam CCols number of columns in corner as specified at compile-time
344 * \param cCols number of columns in corner as specified at run-time
356 template<int CRows, int CCols>
357 inline Block<Derived, CRows, CCols> bottomLeftCorner(Index cRows, Index cCols)
359 return Block<Derived, CRows, CCols>(derived(), rows() - cRows, 0, cRows, cCols);
363 template<int CRows, int 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);