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

Multiplies a Vector<T> by a Matrix<T>.

Definition

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

Parameters

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

Return Value

DenseVector<T>
A vector that is the product of matrix and vector.

Remarks

The number of columns 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 columns in matrix.

See Also