Generic Decomposition Operations<T>.Symmetric Solve Method
Definition
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
Overload List
Symmetric | Solves a system of linear equations A*X = B with a real symmetric matrix A using the factorization A = U*D*UT or A = L*D*LT computed by DSYTRF. |
Symmetric | Solves a system of linear equations A*X = B with a real symmetric matrix A using the factorization A = U*D*UT or A = L*D*LT computed by DSYTRF. |
Symmetric | Solves a system of linear equations A*X = B with a real symmetric matrix A using the factorization A = U*D*UT or A = L*D*LT computed by DSYTRF. |
SymmetricSolve(MatrixTriangle, Int32, Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<Int32>, Span<T>, Int32, Int32)
Solves a system of linear equations A*X = B with a real symmetric matrix A using the factorization A = U*D*UT or A = L*D*LT computed by DSYTRF.
public override void SymmetricSolve(
MatrixTriangle storedTriangle,
int n,
int nrhs,
ReadOnlySpan<T> a,
int lda,
ReadOnlySpan<int> ipiv,
Span<T> b,
int ldb,
out int info
)
Parameters
- storedTriangle MatrixTriangle
Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = 'U': Upper triangular, form is A = U*D*UT; = 'L': Lower triangular, form is A = L*D*LT.
- n Int32
The order of the matrix A. N >= 0.
- nrhs Int32
The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
- a ReadOnlySpan<T>
A is TReal array, dimension (LDA,N) The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by DSYTRF.
- lda Int32
The leading dimension of the array A. LDA >= max(1,N).
- ipiv ReadOnlySpan<Int32>
Dimension (N) Details of the interchanges and the block structure of D as determined by DSYTRF.
- b Span<T>
B is TReal array, dimension (LDB,NRHS) On entry, the right hand side matrix B. On exit, the solution matrix X.
- ldb Int32
The leading dimension of the array B. LDB >= max(1,N).
- info Int32
= 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value
Remarks
This method corresponds to the LAPACK routine ?SYTRS.