Permutes the columns of the double-precision sparse matrix A based on the provided permutation array.
Mac Catalyst 13.0+
The sparse matrix, A.
The permutation array. Holds number of columns in A values indicating the permutation of the matrix. The indices in perm are 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_SUCCESS is returned.
Permute the columns of the sparse matrix A based on the provided permutation array. For each column in A, swap columns as: