Difference between revisions of "Sparse2csr.m"
(Created page with "Computes a partial Compressed Row Storage transformation for a given Matlab sparse matrix. Only returns the index arrays and ignores the values. Syntax: [r...") |
(Update function See also links and function index membership) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | Computes a partial | + | {{DISPLAYTITLE:sparse2csr.m}} __NOTOC__ |
| − | Matlab sparse matrix. Only returns the index arrays and ignores the | + | 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. |
| − | values. | ||
| − | + | ==Syntax== | |
| − | + | [row_ptr,col_idx]=sparse2csr(A) | |
| − | + | ==Parameters== | |
| − | |||
| − | + | 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]], [[adelim.m]], [[coherence.m]], [[correlation.m]], [[homospoil.m]], [[human2opspec.m]], [[lin2lm.m]], [[lin2lmn.m]], [[lm2lin.m]], [[lmn2lin.m]], [[sinkhole.m]], [[sphten2zeeman.m]], [[stitch.m]], [[Kernel_utilities]] | ||
| + | |||
| + | ''Version 2.3, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 18:41, 6 June 2026
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)
Parameters
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, adelim.m, coherence.m, correlation.m, homospoil.m, human2opspec.m, lin2lm.m, lin2lmn.m, lm2lin.m, lmn2lin.m, sinkhole.m, sphten2zeeman.m, stitch.m, Kernel_utilities
Version 2.3, authors: Ilya Kuprov