DenseVector<T>.Multiply Operator

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Multiply(DenseMatrix<T>, DenseVector<T>) Operator

Multiplies a DenseVector<T> by a DenseMatrix<T>.
C#
public static DenseVector<T> operator *(
	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.

Exceptions

ArgumentNullExceptionvector is null.

-or-

matrix is null.

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

Multiply(DenseVector<T>, DenseMatrix<T>) Operator

Multiplies a DenseVector<T> by a DenseMatrix<T>.
C#
public static DenseVector<T> operator *(
	DenseVector<T> vector,
	DenseMatrix<T> matrix
)

Parameters

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

Return Value

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

Exceptions

ArgumentNullExceptionvector is null.

-or-

matrix is null.

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

See Also