SCULIB_FIT_MULT

matrix vector multiplication routine

Description:

If status is good on entry, this routine will multiply the N-vector BETA by the NxN matrix ALPHA to give the N-vector GAMMA. GAMMA should not be the same as BETA as this would mean BETA being overwritten during the multiplication process giving an incorrect answer.

Invocation

CALL SCULIB_FIT_MULT (N, ALPHA, BETA, GAMMA, STATUS)

Arguments

N = INTEGER (Given)
dimensions of square matrix
ALPHA (N,N) = DOUBLE PRECISION (Given)
the multiplying matrix
BETA (N) = DOUBLE PRECISION (Given)
the multiplied vector
GAMMA (N) = DOUBLE PRECISION (Returned)
the result vector (GAMMA and BETA should not be the same array)
STATUS = INTEGER (Given and returned)
global status

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.