Returns the inverse of a matrix calculated by finding the LU decomposition. Depends on LAPACK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:,:) | :: | A | Matrix to invert |
|
integer, | intent(out), | optional | :: | errCode | If error code is present return error code and do not abort |
inverse of A
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private, | dimension(size(A,1)) | :: | work | |||
integer, | private, | dimension(size(A,1)) | :: | ipiv | |||
integer, | private | :: | n | ||||
integer, | private | :: | info |