rcv/rcv.m

From Spinach Documentation Wiki
Revision as of 14:03, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
Jump to: navigation, search


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