ManagedLapack.TriangularSolve Method

Definition

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

Overload List

TriangularSolve(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, ReadOnlySpan<Complex<Double>>, Int32, Span<Complex<Double>>, 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<double>> a,
	int lda,
	Span<Complex<double>> 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<Double>>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.
b  Span<Complex<Double>>
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<Double>, Int32, Span<Double>, 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<double> a,
	int lda,
	Span<double> 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<Double>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.
b  Span<Double>
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