The Complete SPRLIB & ANNLIB

vecinmult

- calculate the innner product ('dot product') of two vectors

SYNOPSIS

double vecinmult (X, n, Y)

ARGUMENTS

double *X Input vector.
double *Y Input vector.
int n Vector dimension. See in FUNCTION below.

RETURNS

The calculated product.

FUNCTION

See above. The vector must be of the following format X[1..n] and Y[1..n]. In mathematical form: InProd = X.Y.

NOTE

A core dump will probably result if the requirements are violated !

SEE ALSO

matcopy, mattransp, matvecmult, matmult, matinv, matinvd

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998