[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 2

CDOTU or ZDOTU Function

Purpose

Returns the complex dot product of two vectors.

Library

BLAS Library (libblas.a)

FORTRAN Syntax


COMPLEX FUNCTION CDOTU(N, X, INCX, Y, INCY)
INTEGER INCX, INCY, N
COMPLEX X(*), Y(*)

DOUBLE COMPLEX FUNCTION ZDOTU(N, X, INCX, Y, INCY)
INTEGER INCX, INCY, N
COMPLEX*16 X(*), Y(*)

Description

The CDOTU or ZDOTU function returns the complex dot product of two vectors.

Parameters

N On entry, N specifies the number of elements in X and Y; 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; 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; unchanged on exit.

Error Codes

For values of N <= 0, a value of 0 is returned.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]