Managed Lapack.Cholesky Solve Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Cholesky | Solves a hermitian system of equations. |
Cholesky | Solves a system of linear equations A*X = B with a symmetric positive definite matrix A using the Cholesky factorization A = UT*U or A = L*LT computed by DPOTRF. |
CholeskySolve(MatrixTriangle, Int32, Int32, Array2D<Complex<Double>>, Array2D<Complex<Double>>, Int32)
Solves a hermitian system of equations.
public override void CholeskySolve(
MatrixTriangle storedTriangle,
int n,
int nrhs,
Array2D<Complex<double>> a,
Array2D<Complex<double>> b,
out int info
)
Parameters
- storedTriangle MatrixTriangle
- A MatrixTriangle value that indicates whether the matrix components are stored in the upper or lower triangular part.
- n Int32
- The number of rows and columns of the matrix.
- nrhs Int32
- The number of right hand sides.
- a Array2D<Complex<Double>>
- A complex array that contains the elements of the matrix.
- b Array2D<Complex<Double>>
- A complex array that contains the components of the right-hand side(s).
- info Int32
- On return, indicates error conditions.
CholeskySolve(MatrixTriangle, Int32, Int32, Array2D<Double>, Array2D<Double>, Int32)
Solves a system of linear equations A*X = B with a symmetric positive definite matrix A using the Cholesky factorization A = UT*U or A = L*LT computed by DPOTRF.
public override void CholeskySolve(
MatrixTriangle storedTriangle,
int n,
int nrhs,
Array2D<double> a,
Array2D<double> b,
out int info
)
Parameters
- storedTriangle MatrixTriangle
= 'U': Upper triangle of A is stored; = 'L': Lower triangle of A is stored.
- 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 Array2D<Double>
Dimension (LDA,N) The triangular factor U or L from the Cholesky factorization A = UT*U or A = L*LT, as computed by DPOTRF.
The leading dimension of the array A. LDA >= max(1,N).
- b Array2D<Double>
Dimension (LDB,NRHS) On entry, the right hand side matrix B. On exit, the solution matrix X.
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 DPOTRS.