DenseVector<T>.Multiply Method

Multiplies a DenseVector<T> by a DenseMatrix<T>.

Definition

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

Parameters

matrix  DenseMatrix<T>
A DenseMatrix<T>.
vector  DenseVector<T>
A DenseVector<T>.

Return Value

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