Multiplies a Vector by a Matrix.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Multiply ( _
	vector As Vector, _
	matrix As Matrix _
) As GeneralVector
C#
public static GeneralVector Multiply (
	Vector vector,
	Matrix matrix
)
C++
public:
static GeneralVector^ Multiply (
	Vector^ vector, 
	Matrix^ matrix
)

Parameters

vector (Extreme.Mathematics.LinearAlgebra.Vector)
A Vector.
matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
A Matrix.

Return Value

A Vector that is the product of matrix and vector.

Remarks

This method multiplies the matrix on the right of the vector, effectively multiplying the vector by the transpose of the matrix. The number of rows of the matrix matrix must equal the length of the vector vector.

Exceptions

ExceptionCondition
ArgumentNullExceptionmatrix is nullNothingnullptr.

-or-

vector is nullNothingnullptr.

DimensionMismatchExceptionThe length of vector does not equal the number of rows in matrix.