Back to Sparse Direct Solver (SuperLU)
slu.permutation.permuteVectorInverse
Apply inverse permutation to a vector.
Syntax
slu.permutation.permuteVectorInverse(x, perm)
Description
Apply inverse permutation to a vector. Computes y = P^{-1} * x where P is a permutation matrix. y[i] = x[perm[i]] for all i.
Parameters
| Name | Description |
|---|---|
| x | - Input vector |
| perm | - Permutation array |
Returns
Float64Array