this file contains BLAS routines required by subroutines LSQR and acheck.
dot product of two vectors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | n | ||||
real(kind=wp) | :: | dx(*) | ||||
integer | :: | incx | ||||
real(kind=wp) | :: | dy(*) | ||||
integer | :: | incy |
euclidean norm of a vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | n | ||||
real(kind=wp) | :: | x(*) | ||||
integer | :: | incx |
copies a vector, x
, to a vector, y
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | n | ||||
real(kind=wp) | :: | dx(*) | ||||
integer | :: | incx | ||||
real(kind=wp) | :: | dy(*) | ||||
integer | :: | incy |
scales a vector by a constant.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | n | ||||
real(kind=wp) | :: | da | ||||
real(kind=wp) | :: | dx(*) | ||||
integer | :: | incx |