<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hey Gideon,
<div><br /></div>
<div>The diagonals are in the .data attribute, and the offsets in the .offsets attribute.</div>
<div><br /></div>
<div>hth,</div>
<div><br /></div>
<div>Juan.</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On 2 Apr 2017, 5:42 PM -0400, Gideon Simpson <gideon.simpson@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">If I have a matrix that was constructed using spdiags is there a routine that will efficiently extract the diagonals?
<div class=""><br class="" />
<div class="">
<div class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">-gideon</span></div>
<br class="" /></div>
</div>
_______________________________________________<br />
SciPy-User mailing list<br />
SciPy-User@python.org<br />
https://mail.python.org/mailman/listinfo/scipy-user<br /></blockquote>
</div>
</body>
</html>