Permutes the columns of the double-precision sparse matrix A based on the provided permutation array.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
The sparse matrix, A.
The permutation array. Holds number of columns 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
permare 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 columns of the sparse matrix A based on the provided permutation array. For each column in A, swap columns as: