Difference between revisions of "Sparse2csr.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎Outputs)
(→‎See also)
Line 18: Line 18:
  
 
==See also==
 
==See also==
−
[[scomponents.m]], [[path_trace.m]], [[zte.m]], [[reduce.m]]
+
[[scomponents.m]], [[path_trace.m]], [[zte.m]], [[reduce.m]], [[dfpt.m]]
  
  
 
''Version 2.3, authors: [[Ilya Kuprov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]]''

Revision as of 16:21, 28 December 2018

Computes a partial compressed row storage (CSR) transformation for a given Matlab sparse matrix. Adapted from the code written by David Gleich. Only returns the index arrays and ignores the values.

Syntax

    [row_ptr,col_idx]=sparse2csr(A)

Arguments

    A - a Matlab sparse matrix to be converted
        into the CSR format

Outputs

    row_ptr - row pointer array of the CSR format

    col_idx - column index array of the CSR format

See also

scomponents.m, path_trace.m, zte.m, reduce.m, dfpt.m


Version 2.3, authors: Ilya Kuprov