Multiplies a symmetric matrix times a vector.
Syntax
object.SVMult(N, matrix, invector, outvector)
The SVMult property syntax has the following parts:
Part |
Description |
object |
An object of type AmosRanGen. |
N |
Input of type Integer. The number of elements in the vector. |
matrix |
Input array of array of length N*(N+1)/2, of type Double. matrix contains the first element of the first row, the first two elements of the second row, and so on. The first element of matrix is passed by reference. |
invector |
Input array of length N, of type Double. The first element of invector is passed by reference. |
outvector |
Output array of length N, of type Double. The product of matrix times invector. The first element of outvector is passed by reference. outvector must be dimensioned by the caller. |
Remarks
outvector must be distinct from invector.