Checks if a given index is valid for the current matrix datastructure.
Returns .true. if the index (either row or column) is larger than 0 and
smaller than the dimension of the matrix. Returns .false. otherwise.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(matrix_t), | intent(in) | :: | matrix |
matrix datastructure object |
||
| integer, | intent(in) | :: | index |
index to check |