Add scaled dot product

 

F_SDOT/F_DDOT/F_CDOT/F_ZDOT

Input

CONJ

Specifies conjugation for vector components in complex

 

 

routines. Vector components are used conjugated or

 

 

unconjugated. Use either BLAS_CONJ or

 

 

BLAS_NO_CONJ. When x and y are real vectors the

 

 

conj operator argument has no effect.

 

N

Number of elements of vector x.

 

ALPHA

The scalar ALPHA.

 

X

REAL or COMPLEX array, minimum length

 

 

(N - 1) x incx+ 1.

 

INCX

Increment for the array x. A vector x having component

 

 

xi, i = 1,..., n, is stored in an array X() with increment

 

 

argument incx. If incx > 0 then xi is stored in

 

 

X (1 + (i - 1) x incx). If incx < 0 then xi is stored in

 

 

X (1 + (N - i) x incx). incx = 0 is an illegal value.

 

BETA

The scalar BETA.

 

Y

REAL or COMPLEX array, minimum length

 

 

(N - 1) x incy+ 1.

 

INCY

Increment for the array y. A vector y having component

 

 

yi, i = 1,..., n, is stored in an array Y() with increment

 

 

argument incy. If incy > 0 then yi is stored in

 

 

Y(1 + (i - 1) x incy). If incy < 0 then yi is stored in

 

 

Y(1 + (N - i) x incy). incy = 0 is an illegal value.

Output

R

REAL or COMPLEX scalar. The scaled dot product of

 

 

the two input vectors x and y.

Chapter 2 Basic Vector Operations 171