Lines Matching refs:dm1
25 DenseMatrixType dm1(rows,cols); in bandmatrix() local
26 dm1.setZero(); in bandmatrix()
29 dm1.diagonal().setConstant(123); in bandmatrix()
33 dm1.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix()
38 dm1.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix()
41 VERIFY_IS_APPROX(dm1,m.toDenseMatrix()); in bandmatrix()
46 dm1.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix()
51 if(a>0) dm1.block(0,d+supers,rows,a).setZero(); in bandmatrix()
52 dm1.block(0,supers+1,cols-supers-1-a,cols-supers-1-a).template triangularView<Upper>().setZero(); in bandmatrix()
53 dm1.block(subs+1,0,rows-subs-1-b,rows-subs-1-b).template triangularView<Lower>().setZero(); in bandmatrix()
54 if(b>0) dm1.block(d+subs,0,b,cols).setZero(); in bandmatrix()
56 VERIFY_IS_APPROX(dm1,m.toDenseMatrix()); in bandmatrix()