DenseMatrix<T>.PreMultiply Method

Multiplies this matrix on the left by a Matrix<T>.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public abstract DenseMatrix<T> PreMultiply(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
The second Matrix<T>.

Return Value

DenseMatrix<T>
A DenseMatrix<T, TSlice, TStorage2D> that is the product of this matrix with matrix.

Exceptions

ArgumentNullException

matrix is null.

DimensionMismatchException

The number of rows of matrix does not match the number of columns in this matrix.

-or-

matrix is not square.

See Also