Extracts values from a specified column of a single-precision sparse matrix.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
The column for value extraction.
The index of the row to start extraction.
On return, holds the row 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 row indices that correspond to the values in
val. Note that these indices are relative to the matrix column and not the starting row index specified by
_start. 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
row holds the row 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 column beginning at
A[column,row 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 row index of the next nonzero value is returned in
row. For example if
nz is returned, not all nonzero values have been extracted, and a second extract can start from