Checks if the given matrix dimensions are valid. For now, we only accept
square matrices. Returns .true.
if rows
equals cols
, .false.
otherwise.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | rows | number of rows in the original matrix |
||
integer, | intent(in) | :: | cols | number of columns in the original matrix |