! add a scalar value to the matrix diagonal (double precision version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout) | :: | matrix_(:,:) | |||
| real(kind=dp), | intent(in) | :: | scalar_ |
add a scalar value to the matrix diagonal (integer version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout) | :: | matrix_(:,:) | |||
| integer(kind=int32), | intent(in) | :: | scalar_ |
add a scalar value to the matrix diagonal (single precision version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=sp), | intent(inout) | :: | matrix_(:,:) | |||
| real(kind=sp), | intent(in) | :: | scalar_ |