Fill in the values of a distributed matrix with a permutation. If you do not specify permuterows, will default to permuting rows.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(inout) | :: | this | The matrix being filled. |
||
integer, | intent(in), | DIMENSION(:) | :: | permutation_vector | Describes for each row/column, where it goes. |
|
logical, | intent(in), | optional | :: | permute_rows_in | If true permute rows, false permute columns. |