<div dir="ltr"><div>Hi, <br><br></div>Is there any simple way of setting minor diagonals. The main diagonal can be set by MatDiagonalSet but there's no equivalent way of doing it for for minor diagonals. Does the preferred way to do this involve using MatSetValues or there a simpler way? <br><br clear="all"><div><div>Thank You, <br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Sajid Ali<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div></div></div></div></div></div>