?lamch supports s, d. See mfi_lamch for the modern version.
SLAMCH determines single precision machine parameters.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=1), | intent(in) | :: | cmach |
?lamch supports s, d. See mfi_lamch for the modern version.
DLAMCH determines double precision machine parameters.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=1), | intent(in) | :: | cmach |
Compute the inner product of two vectors with extended precision accumulation.
Returns S.P. result with dot product accumulated in D.P. SDSDOT = SB + sum for I = 0 to N-1 of SX(LX+IINCX)SY(LY+IINCY), where LX = 1 if INCX .GE. 0, else LX = 1+(1-N)INCX, and LY is defined in a similar way using INCY.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | |||
| real(kind=wp), | intent(in) | :: | sb | |||
| real(kind=wp), | intent(in) | :: | sx(*) | |||
| integer, | intent(in) | :: | incx | |||
| real(kind=wp), | intent(in) | :: | sy(*) | |||
| integer, | intent(in) | :: | incy |
Compute the inner product of two vectors with extended precision accumulation and result.
Returns D.P. dot product accumulated in D.P., for S.P. SX and SY DSDOT = sum for I = 0 to N-1 of SX(LX+IINCX) * SY(LY+IINCY), where LX = 1 if INCX .GE. 0, else LX = 1+(1-N)*INCX, and LY is defined in a similar way using INCY.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | |||
| real(kind=sp), | intent(in) | :: | sx(*) | |||
| integer, | intent(in) | :: | incx | |||
| real(kind=sp), | intent(in) | :: | sy(*) | |||
| integer, | intent(in) | :: | incy |