.NET Matrix Library
Multiplication(Matrix,Vector) Operator
See Also  Send Feedback


A
A Matrix instance on the left side of the multiplication operator.
x
A Vector instance on the right side of the multiplication operator.
Multiplies a matrix by a vector.

Syntax

Visual Basic (Declaration) 
Overloads Public Operator *( _
   ByVal A As Matrix, _
   ByVal x As Vector _
) As Vector
C# 
public Vector operator *( 
   Matrix A,
   Vector x
)
C++/CLI 
public:
Vector^ operator *( 
   Matrix^ A,
   Vector^ x
)

Parameters

A
A Matrix instance on the left side of the multiplication operator.
x
A Vector instance on the right side of the multiplication operator.

Return Value

A CMatrix object that represents the product.

Exceptions

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

Remarks

The CVector is considered to be a column vector; a one-column matrix.

The vector size must be equal to the number of columns of the matrix.

Requirements

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

See Also

.NET Matrix Library