DenseMatrix<T, TSlice, TStorage2D>.SolveInto Method

Definition

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

Overload List

SolveInto(Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides.
SolveInto(Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side.
SolveInto(TransposeOperation, Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides.
SolveInto(TransposeOperation, Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side.

SolveInto(TransposeOperation, Matrix<T>, Matrix<T>)

Solves a system of equations defined by the matrix and multiple right-hand sides.
C#
public override Matrix<T> SolveInto(
	TransposeOperation operation,
	Matrix<T> rightHandSide,
	Matrix<T>? result
)

Parameters

operation  TransposeOperation
The operation to perform on the matrix before solving.
rightHandSide  Matrix<T>
A matrix whose columns contain the right-hand sides.
result  Matrix<T>
The vector that is to hold the result. May be null.

Return Value

Matrix<T>

The solution of the system of equations defined by this instance, transformed as specified by operation, and rightHandSide.

Exceptions

ArgumentNullException

rightHandSide is null.

SolveInto(TransposeOperation, Vector<T>, Vector<T>)

Solves a system of equations defined by the matrix and the specified right-hand side.
C#
public override Vector<T> SolveInto(
	TransposeOperation operation,
	Vector<T> rightHandSide,
	Vector<T>? result
)

Parameters

operation  TransposeOperation
The operation to perform on the matrix before solving.
rightHandSide  Vector<T>
A vector that contains the right-hand side.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>

The solution of the system of equations defined by this instance, transformed as specified by operation, and rightHandSide.

Exceptions

ArgumentNullException

rightHandSide is null.

See Also