Wrapper module around LAPACK’s dgesv
Solve a linear sytem AX = b
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=pr), | intent(in) | :: | a(size(b),size(b)) | |||
real(kind=pr), | intent(in) | :: | b(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=pr), | intent(in) | :: | parameters(4) | |||
real(kind=pr), | intent(out) | :: | real_roots(3) | |||
complex(kind=pr), | intent(out) | :: | complex_roots(3) | |||
integer, | intent(out) | :: | flag |
flag that identifies which case the solution is
- |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=pr), | intent(in) | :: | parameters(4) | |||
real(kind=pr), | intent(out) | :: | real_roots(3) | |||
complex(kind=pr), | intent(out) | :: | complex_roots(3) | |||
integer, | intent(out) | :: | flag |