LinearOperator<T>.Multiply Method

DefinitionPermalink

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

Overload ListPermalink

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>)Permalink

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.

ExceptionsPermalink

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

Multiply(Vector<T>)Permalink

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.

ExceptionsPermalink

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

Multiply(TransposeOperation, Matrix<T>)Permalink

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.

ExceptionsPermalink

ArgumentNullException

matrix is null.

Multiply(TransposeOperation, Vector<T>)Permalink

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.

ExceptionsPermalink

ArgumentNullException

vector is null.

See AlsoPermalink