Solves the linear equation of the form A*x = b for x. A is an (n,n) arrays x and b are (n) arrays Uses Gaussian elimination, so will have issues if nbody_system is ill-conditioned. Uses quad precision intermidiate values, so works best on small arrays.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=DP), | intent(in), | dimension(:,:) | :: | A | ||
| real(kind=DP), | intent(in), | dimension(:) | :: | b | ||
| integer(kind=I4B), | intent(in) | :: | n | |||
| logical, | intent(out) | :: | lerr |
Solves the linear equation of the form A*x = b for x. A is an (n,n) arrays x and b are (n) arrays Uses Gaussian elimination, so will have issues if nbody_system is ill-conditioned. Uses quad precision intermidiate values, so works best on small arrays.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=QP), | intent(in), | dimension(:,:) | :: | A | ||
| real(kind=QP), | intent(in), | dimension(:) | :: | b | ||
| integer(kind=I4B), | intent(in) | :: | n | |||
| logical, | intent(out) | :: | lerr |