Difference between revisions of "Rcv/rcv.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Fix lead description from MATLAB header (folding/hyphenation pass))
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
{{DISPLAYTITLE:rcv/rcv.m}} __NOTOC__
 
{{DISPLAYTITLE:rcv/rcv.m}} __NOTOC__
 +
 
Creates an RCV (row-column-value storage) sparse matrix.
 
Creates an RCV (row-column-value storage) sparse matrix.
  
 
==Syntax==
 
==Syntax==
  
−
                          obj=rcv(M)
+
obj=rcv(varargin)
−
                          obj=rcv(dim1,dim2)
 
−
                          obj=rcv(R,C,V,dim1,dim2)
 
  
 
==Arguments==
 
==Arguments==
  
−
        M      - a Matlab matrix
+
M      - a Matlab matrix
 
         dim1  - number of rows
 
         dim1  - number of rows
 
         dim2  - number of columns
 
         dim2  - number of columns
Line 19: Line 18:
 
==Outputs==
 
==Outputs==
  
−
        obj    - an RCV sparse matrix object
+
obj    - an RCV sparse matrix object
  
 
==Examples==
 
==Examples==
 +
 
See examples in the Spinach distribution relevant to this function.
 
See examples in the Spinach distribution relevant to this function.
  
 
==Notes==
 
==Notes==
 +
 
This page was generated from the function header in the Spinach repository.
 
This page was generated from the function header in the Spinach repository.
  
 
==See also==
 
==See also==
 +
 
* [[rcv/mtimes.m]]
 
* [[rcv/mtimes.m]]
 
* [[rcv/plus.m]]
 
* [[rcv/plus.m]]

Revision as of 14:03, 5 April 2026


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

Syntax

obj=rcv(varargin)

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