[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
Base Operating System and Extensions Technical Reference, Volume 2
SDSDOT Function
Purpose
Returns the dot product of two vectors plus a constant.
Library
BLAS Library (libblas.a)
FORTRAN Syntax
REAL FUNCTION SDSDOT(N,B,X,INCX,Y,INCY)
INTEGER N,INCX,INCY
REAL B,X(*),Y(*)
Purpose
The SDSDOT function computes the sum of constant B and dot product of vectors X and Y.
Parameters
N |
On entry, N specifies the number of elements in X and Y; unchanged on exit. |
B |
Scalar; unchanged on exit. |
X |
Vector of dimension at least (1 + (N-1) * abs(INCX) ); unchanged on exit. |
INCX |
On entry, INCX specifies the increment for the elements of X; INCX must be greater than zero; unchanged on exit. |
Y |
Vector of dimension at least (1 + (N-1) * abs(INCY) ); unchanged on exit. |
INCY |
On entry, INCY specifies the increment for the elements of Y; INCY must be greater than 0; unchanged on exit. |
Error Codes
For values of N <= 0, the subroutine returns immediately.
Implementation Specifics
Computation is performed in double precision.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]