Extracts values from a specified row of a double-precision sparse matrix.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The row for value extraction.
The index of the column to start extraction.
On return, holds the column index of the next nonzero value.
The number of values to extract from
A. Each of
valare of size
Pointer to array to hold the values extracted from the sparse matrix. The value is extracted from the location specified by the corresponding indices of
jndx. Must be of size
nzelements. If less than
nznonzero values are found, then the last
nz - actualelements of val are untouched.
An array to hold the extracted column indices that correspond to the values in
val. Note that these indices are relative to the matrix row and not the starting column index specified by
column. Returned indices are 0 based (first element of pointer is
ptr). Must be of size
jndx have been updated with the nonzero values of the
column holds the column index of the next nonzero value, and the number of nonzero values written are returned. If
A creation requirements are not met,
SPARSE is returned and
jndx are unchanged.
Extract the first
nz values of the row beginning at
A[row,column for the sparse matrix
A. The number of nonzero values extracted is limited by
nz, and the number of nonzero's written to
val are returned. Additionally, the column index of the next nonzero value is returned in
column. For example if
nz is returned, not all nonzero values have been extracted, and a second extract can start from