Checks if a given element is valid in order to add it to the matrix.
Returns .true. if the element is of type real or complex, .false. otherwise.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | element |
Matrix element that is to be added |