Difference between revisions of "Rcv/rcv.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Expand See also links to related Spinach functions and docs)
(Fix lead description from MATLAB header (folding/hyphenation pass))
Line 1: Line 1:
 
{{DISPLAYTITLE:rcv/rcv.m}} __NOTOC__
 
{{DISPLAYTITLE:rcv/rcv.m}} __NOTOC__
Documentation page for rcv.m.
+
Creates an RCV (row-column-value storage) sparse matrix.
  
 
==Syntax==
 
==Syntax==

Revision as of 21:50, 22 February 2026

Creates an RCV (row-column-value storage) sparse matrix.

Syntax

                          obj=rcv(M)
                          obj=rcv(dim1,dim2)
                          obj=rcv(R,C,V,dim1,dim2)

Arguments

       M      - a Matlab matrix
       dim1   - number of rows
       dim2   - number of columns
       R      - row indices of non-zero entries
       C      - column indices of non-zero entries
       V      - values corresponding to entries in R and C

Outputs

       obj    - an RCV sparse matrix object

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also


Version 2.11, authors: M Keitel