Lines Matching refs:rows
19 Index rows = m.rows(); in corners() local
22 Index r = internal::random<Index>(1,rows); in corners()
25 MatrixType matrix = MatrixType::Random(rows,cols); in corners()
26 const MatrixType const_matrix = MatrixType::Random(rows,cols); in corners()
30 COMPARE_CORNER(bottomLeftCorner(r,c), block(rows-r,0,r,c)); in corners()
31 COMPARE_CORNER(bottomRightCorner(r,c), block(rows-r,cols-c,r,c)); in corners()
33 Index sr = internal::random<Index>(1,rows) - 1; in corners()
34 Index nr = internal::random<Index>(1,rows-sr); in corners()
40 COMPARE_CORNER(bottomRows(r), block(rows-r,0,r,cols)); in corners()
41 COMPARE_CORNER(leftCols(c), block(0,0,rows,c)); in corners()
42 COMPARE_CORNER(middleCols(sc,nc), block(0,sc,rows,nc)); in corners()
43 COMPARE_CORNER(rightCols(c), block(0,cols-c,rows,c)); in corners()
52 rows = MatrixType::RowsAtCompileTime, in corners_fixedsize() enumerator
62 …VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template block<r,c>(rows-r,0))); in corners_fixedsize()
63 …VERIFY_IS_EQUAL((matrix.template bottomRightCorner<r,c>()), (matrix.template block<r,c>(rows-r,col… in corners_fixedsize()
67 VERIFY_IS_EQUAL((matrix.template bottomRows<r>()), (matrix.template block<r,cols>(rows-r,0))); in corners_fixedsize()
68 VERIFY_IS_EQUAL((matrix.template leftCols<c>()), (matrix.template block<rows,c>(0,0))); in corners_fixedsize()
69 VERIFY_IS_EQUAL((matrix.template middleCols<c>(sc)), (matrix.template block<rows,c>(0,sc))); in corners_fixedsize()
70 VERIFY_IS_EQUAL((matrix.template rightCols<c>()), (matrix.template block<rows,c>(0,cols-c))); in corners_fixedsize()
74 …UAL((const_matrix.template bottomLeftCorner<r,c>()), (const_matrix.template block<r,c>(rows-r,0))); in corners_fixedsize()
75 …onst_matrix.template bottomRightCorner<r,c>()), (const_matrix.template block<r,c>(rows-r,cols-c))); in corners_fixedsize()
79 …IS_EQUAL((const_matrix.template bottomRows<r>()), (const_matrix.template block<r,cols>(rows-r,0))); in corners_fixedsize()
80 …VERIFY_IS_EQUAL((const_matrix.template leftCols<c>()), (const_matrix.template block<rows,c>(0,0))); in corners_fixedsize()
81 …VERIFY_IS_EQUAL((const_matrix.template middleCols<c>(sc)), (const_matrix.template block<rows,c>(0,… in corners_fixedsize()
82 …VERIFY_IS_EQUAL((const_matrix.template rightCols<c>()), (const_matrix.template block<rows,c>(0,col… in corners_fixedsize()