The Complete SPRLIB & ANNLIB

matvecmult

- multiply a matrix with a vector and store the result in a new vector

SYNOPSIS

int matvecmult (A, m, n, X, VOut)

ARGUMENTS

double **A Input matrix.
double *X Input vector.
double *VOut Ouput (result) vector.
int m First dimension. See in FUNCTION below.
int n Second dimension. See in FUNCTION below.

RETURNS

TRUE if an error was detected, FALSE if no error was detected.

FUNCTION

See above. The input matrix must be of the form A[1..m][1..n] and the input vector must be of the form X[1..n], in NRinC format. The supplied output vector VOut[1..m] is assumed to be of the proper dimension. In mathematical form: VOut = A * X.

NOTE

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

SEE ALSO

matcopy, mattransp, vecinmult, matmult, matinv, matinvd

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