extracting a CSR-type vector from an MTL sparse matrix
"Yaron Kretchmer" <[email protected]> Wed, 28 Mar 2007 22:39:41 -0700
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <D500AB0F5C034F48AB08127D359BEA1FDC1216@sj-ismsg01.altera.priv.altera.com> |
This is a multi-part message in MIME format. --===============2045480954== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C771C4.A60AFA21" This is a multi-part message in MIME format. ------_=_NextPart_001_01C771C4.A60AFA21 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi There. In order to interface to a different package, I'd like to extract a compressed-vector description of matrix (based on columns). i.e., starting from a matrix, get 3 vectors/arrays: =20 1) non-zero coefficients 2) Column-start indices 3) row indices of nonzero coefficients =20 Anybody got an idea on how to do that? =20 Regards Yaron =20 ------_=_NextPart_001_01C771C4.A60AFA21 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.3790.594" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial size=3D2>Hi=20 There.</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial size=3D2>In = order to=20 interface to a different package, I'd like to extract a = compressed-vector=20 description of matrix (based on columns). i.e., starting from a matrix, = get 3=20 vectors/arrays:</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial size=3D2>1) = non-zero=20 coefficients</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial size=3D2>2) = Column-start=20 indices</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial size=3D2>3) row = indices of=20 nonzero coefficients</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial = size=3D2>Anybody got an idea=20 on how to do that?</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial=20 size=3D2>Regards</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007><FONT face=3DArial=20 size=3D2>Yaron</FONT></SPAN></DIV> <DIV><SPAN class=3D885203505-29032007></SPAN> </DIV></BODY></HTML> ------_=_NextPart_001_01C771C4.A60AFA21-- --===============2045480954== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/ --===============2045480954==--