Apply a permutation to a matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | mat | The matrix to permute. |
||
type(Matrix_ps), | intent(inout) | :: | mat_out | The permuted matrix. |
||
type(Permutation_t), | intent(in) | :: | permutation | The permutation to apply. |
||
type(MatrixMemoryPool_p), | intent(inout), | optional | :: | memorypool_in | Memory pool to use |