Click or drag to resize

BLASdpotrs Method

Solves a system of linear equations with a Cholesky-factored real symmetric positive-definite matrix. Use dpotrf(BlasUplo, Int32, Double, Int32) for creating the factorisation.

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 dpotrs(
	BlasUplo uplo,
	int n,
	int nrhs,
	double[] a,
	int lda,
	double[] b,
	int ldb
)

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
nrhs
Type: SystemInt32
Number of right hand sides
a
Type: SystemDouble
Matrix A in column major order
lda
Type: SystemInt32
Leading dimension of A, usually n, but can be larger
b
Type: SystemDouble
The right hand sides, overwritten by the solutions
ldb
Type: SystemInt32
Leading dimension of B

Return Value

Type: Int32
See Also