LinearOperator<T>.Multiply Method

Definition

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

Overload List

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

Multiply(Matrix<T>)

Applies the linear operator to a matrix.
C#
public Matrix<T> Multiply(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A Matrix<T>.

Return Value

Matrix<T>
The product of the linear operator and matrix.

Exceptions

ArgumentNullExceptionmatrix is null.
DimensionMismatchExceptionThe number of rows of matrix does not equal the number of columns in the linear operator.

Multiply(Vector<T>)

Applies the linear operator to a vector.
C#
public Vector<T> Multiply(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A Vector<T>.

Return Value

Vector<T>
The product of the linear operator and vector.

Exceptions

ArgumentNullExceptionvector is null.
DimensionMismatchExceptionThe length of vector does not equal the number of columns in the linear operator.

Multiply(TransposeOperation, Matrix<T>)

Note: This API is now obsolete.
Multiplies a matrix on the left by this matrix.
C#
[ObsoleteAttribute("Use the static Multiply method instead.")]
public Matrix<T> Multiply(
	TransposeOperation operation,
	Matrix<T> matrix
)

Parameters

operation  TransposeOperation
The operation to be performed on this instance before multiplying.
matrix  Matrix<T>
The right operand of the multiplication.

Return Value

Matrix<T>
A matrix that is the product of this instace, transformed as specified by operation, and matrix.

Exceptions

ArgumentNullException

matrix is null.

Multiply(TransposeOperation, Vector<T>)

Note: This API is now obsolete.
Multiplies a vector on the left by this vector.
C#
[ObsoleteAttribute("Use the static Multiply method instead.")]
public Vector<T> Multiply(
	TransposeOperation operation,
	Vector<T> vector
)

Parameters

operation  TransposeOperation
The operation to be performed on this instance before multiplying.
vector  Vector<T>
The right operand of the multiplication.

Return Value

Vector<T>
A vector that is the product of this instace, transformed as specified by operation, and vector.

Exceptions

ArgumentNullException

vector is null.

See Also