DenseMatrix<T>.Multiply Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

Multiply(Matrix<T>) Multiplies this matrix on the right by a square Matrix<T>.
Multiply(Vector<T>)Applies the linear operator to a vector.

Multiply(Matrix<T>)

Multiplies this matrix on the right by a square Matrix<T>.
C#
public abstract DenseMatrix<T> Multiply(
	Matrix<T> matrix
)

Parameters

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

Return Value

DenseMatrix<T>
A reference to this instance, which is the product of the original DenseMatrix<T, TSlice, TStorage2D> with matrix.

Remarks

The matrix matrix must be square, and the number of rows and columns of matrix must be equal to the number of columns of this instance. Otherwise, an exception of type DimensionMismatchException is thrown.

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