Permutes the rows of the single-precision sparse matrix A based on the provided permutation array.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The sparse matrix, A.
The permutation array. Holds number of rows in A values indicating the permutation of the matrix. The indices in
permare expected to be 0 based (first element of pointer is
ptr). The indices in perm are expected to be within bounds of the matrix. Undefined behavior if not met.
On successful return, A has been permuted and
SPARSE is returned.
Permute the rows of the sparse matrix A based on the provided permutation array. For each row in A, swap rows as: