LinearOperator<T>.MultiplyInto Method

Definition

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

Overload List

MultiplyInto(LinearOperator<T>, Matrix<T>, Matrix<T>) Multiplies a matrix and a matrix.
MultiplyInto(LinearOperator<T>, Vector<T>, Vector<T>) Multiplies a matrix and a vector.
MultiplyInto(LinearOperator<T>, TransposeOperation, Matrix<T>, Matrix<T>) Multiplies a possibly transposed matrix and a matrix.
MultiplyInto(LinearOperator<T>, TransposeOperation, Vector<T>, Vector<T>) Multiplies a possibly transposed matrix and a vector.

MultiplyInto(LinearOperator<T>, Matrix<T>, Matrix<T>)

Multiplies a matrix and a matrix.
C#
public static Matrix<T> MultiplyInto(
	LinearOperator<T> left,
	Matrix<T> right,
	Matrix<T>? result
)

Parameters

left  LinearOperator<T>
The left operand.
right  Matrix<T>
The right operand.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
The product of leftwith the matrix right.

MultiplyInto(LinearOperator<T>, Vector<T>, Vector<T>)

Multiplies a matrix and a vector.
C#
public static Vector<T> MultiplyInto(
	LinearOperator<T> left,
	Vector<T> right,
	Vector<T>? result
)

Parameters

left  LinearOperator<T>
The left operand.
right  Vector<T>
The right operand.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
The product of leftwith the vector right.

MultiplyInto(LinearOperator<T>, TransposeOperation, Matrix<T>, Matrix<T>)

Multiplies a possibly transposed matrix and a matrix.
C#
public static Matrix<T> MultiplyInto(
	LinearOperator<T> left,
	TransposeOperation transpose,
	Matrix<T> right,
	Matrix<T>? result
)

Parameters

left  LinearOperator<T>
The left operand.
transpose  TransposeOperation
The operation to be performed on the matrix left before multiplying.
right  Matrix<T>
The right operand.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
The product of left, transformed as specified by transpose, with the matrix right.

MultiplyInto(LinearOperator<T>, TransposeOperation, Vector<T>, Vector<T>)

Multiplies a possibly transposed matrix and a vector.
C#
public static Vector<T> MultiplyInto(
	LinearOperator<T> left,
	TransposeOperation transpose,
	Vector<T> right,
	Vector<T>? result
)

Parameters

left  LinearOperator<T>
The left operand.
transpose  TransposeOperation
The operation to be performed on the matrix left before multiplying.
right  Vector<T>
The right operand.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
The product of left, transformed as specified by transpose, with the vector right.

See Also