.NET Matrix Library
Multiply(CMatrix,CVector) Method
See Also  Send Feedback



A
A CMatrix object that represents the matrix to be multiplied.
x
A CVector object that represents the vector to multiply with.
Multiplies a matrix with a complex vector.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Multiply( _
   ByVal A As CMatrix, _
   ByVal x As CVector _
) As CVector
Visual Basic (Usage)Copy Code
Dim A As CMatrix
Dim x As CVector
Dim value As CVector
 
value = CMatrix.Multiply(A, x)
C# 
public static CVector Multiply( 
   CMatrix A,
   CVector x
)
C++/CLI 
public:
static CVector^ Multiply( 
   CMatrix^ A,
   CVector^ x
) 

Parameters

A
A CMatrix object that represents the matrix to be multiplied.
x
A CVector object that represents the vector to multiply with.

Return Value

A CMatrix that represents the result of the matrix-vector multiplication.

Exceptions

ExceptionDescription
SizeMismatchExceptionThe vector size does not match with the number of the matrix columns.

Remarks

The vector parameter is taken as a column vector.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library