Home | History | Annotate | Download | only in plugins

Lines Matching refs:cRows

72   * \param cRows the number of rows 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);
93 * \tparam CRows the number of rows 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);
116 * \tparam CRows number of rows in corner as specified at compile-time
118 * \param cRows number of rows in corner as specified at run-time
123 * information should not contradict. In other words, \a cRows should equal \a CRows unless
124 * \a CRows is \a Dynamic, and the same for the number of columns.
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);
148 * \param cRows the number of rows 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);
191 * \tparam CRows number of rows in corner as specified at compile-time
193 * \param cRows number of rows in corner as specified at run-time
198 * information should not contradict. In other words, \a cRows should equal \a CRows unless
199 * \a CRows is \a Dynamic, and the same for the number of columns.
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);
223 * \param cRows the number of rows 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);
266 * \tparam CRows number of rows in corner as specified at compile-time
268 * \param cRows number of rows in corner as specified at run-time
273 * information should not contradict. In other words, \a cRows should equal \a CRows unless
274 * \a CRows is \a Dynamic, and the same for the number of columns.
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);
298 * \param cRows the number of rows 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);
341 * \tparam CRows number of rows in corner as specified at compile-time
343 * \param cRows number of rows in corner as specified at run-time
348 * information should not contradict. In other words, \a cRows should equal \a CRows unless
349 * \a CRows is \a Dynamic, and the same for the number of columns.
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);