Given a distributed matrix, apply this procedure to each element (real).
Type | Intent | Optional | Attributes | Name | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | inmat |
The matrix to apply the procedure to. |
||||||||||||||||||||||||||||||
type(Matrix_ps), | intent(inout) | :: | outmat |
The matrix where each element has had proc called on it. |
||||||||||||||||||||||||||||||
private function proc(row, column, val) result(valid)The procedure to apply to each element. Arguments
Return Value logicalSet this to false to filter an element. |