.NET Matrix Library
Times(Vector) Method
See Also  Send Feedback



x
A Vector object that represents the vector to multiply the current matrix with.
Multiplies the current matrix by a vector and returns the result.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Times( _
   ByVal x As Vector _
) As Matrix
Visual Basic (Usage)Copy Code
Dim instance As Matrix
Dim x As Vector
Dim value As Matrix
 
value = instance.Times(x)
C# 
public Matrix Times( 
   Vector x
)
C++/CLI 
public:
Matrix^ Times( 
   Vector^ x
) 

Parameters

x
A Vector object that represents the vector to multiply the current matrix with.

Return Value

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

Exceptions

ExceptionDescription
SizeMismatchExceptionThe vector size does not match with the number of the current 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