Given a permutation vector , this function computes the vector representation of the inverse permutation matrix.
inv_perm = invperm(perm)
perm : Rank-1 array of integer corresponding to the desired permutation vector.
It is an intent(in) argument.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | perm(:) |