Matrix<T>.Multiply(Vector<T>, Matrix<T>) Method

Note: This API is now obsolete.
Multiplies a Vector<T> by a Matrix<T>.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[ObsoleteAttribute]
public static DenseVector<T> Multiply(
	Vector<T> vector,
	Matrix<T> matrix
)

Parameters

vector  Vector<T>
A vector.
matrix  Matrix<T>
A Matrix<T>.

Return Value

DenseVector<T>
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

ArgumentNullExceptionmatrix is null.

-or-

vector is null.

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

See Also