Click or drag to resize

BLASdpotri Method

Computes the inverse of a real symmetric positive-definite matrix from the Cholesky-factored matrix.

Before calling this routine, call dpotrf(BlasUplo, Int32, Double, Int32) to factorize

Namespace:  DHIMath.Numerics
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static int dpotri(
	BlasUplo uplo,
	int n,
	double[] a,
	int lda
)

Parameters

uplo
Type: DHIMath.NumericsBlasUplo
'U': upper triangle of A is stored, 'L' lower triangle of A is stored
n
Type: SystemInt32
Size of A
a
Type: SystemDouble
Cholesky-factored matrix A in column major order, inverse of A on return
lda
Type: SystemInt32
Leading dimension of A, usually n, but can be larger

Return Value

Type: Int32
0 on success. i when the the i-th diagonal element of the Cholesky factor (and therefore the factor itself) is zero, and the inversion could not be completed
See Also