Reports an error where a square matrix was expected but a non-square matrix was provided.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | fcn |
The name of the function that failed. |
||
| class(errors), | intent(inout) | :: | err |
The error object to be updated. |
||
| character(len=*), | intent(in) | :: | name |
The name of the matrix. |
||
| integer(kind=int32), | intent(in) | :: | expectedSize |
The expected size of the square matrix. |
||
| integer(kind=int32), | intent(in) | :: | actualRows |
The actual number of rows in the matrix. |
||
| integer(kind=int32), | intent(in) | :: | actualCols |
The actual number of columns in the matrix. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=256), | public | :: | msg |