Matrix<T>.Multiply Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Multiply(Matrix<T>)Applies the linear operator to a matrix.
Multiply(Vector<T>)Applies the linear operator to a vector.
Multiply(Matrix<T>, Vector<T>) Multiplies a Vector<T> by a Matrix<T>.

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

Multiplies a Vector<T> by a Matrix<T>.
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

ArgumentNullException

matrix is null.

-or-

vector is null.

DimensionMismatchException

The length of vector does not equal the number of columns in matrix.

See Also