GenericDecompositionOperations<T>.TriangularSolve Method

Definition

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

Overload List

TriangularSolve(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32, Int32)

Solves a complex triangular system of equations.
C#
public override void TriangularSolve(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	MatrixDiagonal diag,
	int n,
	int nrhs,
	ReadOnlySpan<T> a,
	int lda,
	Span<T> b,
	int ldb,
	out int info
)

Parameters

storedTriangle  MatrixTriangle
A MatrixTriangle value that indicates whether the matrix is upper or lower triangular.
trans  TransposeOperation
A TransposeOperation value that indicates if the matrix should be transposed or not.
diag  MatrixDiagonal
A MatrixDiagonal value that indicates whether the matrix is unit diagonal.
n  Int32
The number of rows and columns of the matrix.
nrhs  Int32
The number of right hand sides.
a  ReadOnlySpan<T>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.
b  Span<T>
A complex array that contains the components of the right-hand side(s).
ldb  Int32
The leading dimension of the matrix b.
info  Int32
On return, indicates error conditions.

TriangularSolve(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32, Int32)

Solves a complex triangular system of equations.
C#
public override void TriangularSolve(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	MatrixDiagonal diag,
	int n,
	int nrhs,
	ReadOnlySpan<Complex<T>> a,
	int lda,
	Span<Complex<T>> b,
	int ldb,
	out int info
)

Parameters

storedTriangle  MatrixTriangle
A MatrixTriangle value that indicates whether the matrix is upper or lower triangular.
trans  TransposeOperation
A TransposeOperation value that indicates if the matrix should be transposed or not.
diag  MatrixDiagonal
A MatrixDiagonal value that indicates whether the matrix is unit diagonal.
n  Int32
The number of rows and columns of the matrix.
nrhs  Int32
The number of right hand sides.
a  ReadOnlySpan<Complex<T>>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.
b  Span<Complex<T>>
A complex array that contains the components of the right-hand side(s).
ldb  Int32
The leading dimension of the matrix b.
info  Int32
On return, indicates error conditions.

See Also