Linear Least Squares Fit with correlation coefficient
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:) | :: | X | ||
| real(kind=real32), | intent(in), | dimension(:) | :: | Y | ||
| real(kind=real32), | intent(out) | :: | m | |||
| real(kind=real32), | intent(out) | :: | b | |||
| real(kind=real32), | intent(out) | :: | r | |||
| integer, | optional | :: | stat |