Provides the linear algebra wrapper routines using LAPACK.
Computes matrix inverse using LAPACK Input matrix should be a square matrix
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | A(:,:) |
input matrix |
Solve linear system of dimension dims and multiple RHS
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | A(:,:) |
matrix |
||
| real(kind=wp), | intent(in) | :: | RHS(:) |
RHS, sorting: (dimA,nRHS), two dimensions can be used in input |
Solve linear system of dimension dims and multiple RHS
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | A(:,:) |
matrix |
||
| real(kind=wp), | intent(in) | :: | RHS(:,:) |
RHS, sorting: (dimA,nRHS), two dimensions can be used in input |
Return P L U matrices of the LU decomposition, cmoputed from LAPACK Routine (if P is not passed, L=P*L)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | dimA | |||
| real(kind=wp), | intent(in) | :: | A(1:dimA,1:dimA) |
matrix |
||
| real(kind=wp), | intent(out) | :: | L(1:dimA,1:dimA) |
L or P*L (if P omitted) |
||
| real(kind=wp), | intent(out) | :: | U(1:dimA,1:dimA) | |||
| real(kind=wp), | intent(out), | optional | :: | P(1:dimA,1:dimA) |