mirror of
https://github.com/gonum/gonum.git
synced 2025-10-22 22:59:24 +08:00
lapack/gonum: clarify ok return from Dpstrf and Dpstf2
This commit is contained in:

committed by
Vladimír Chalupecký

parent
ce4adcfbd5
commit
b091b0b4e2
@@ -145,9 +145,10 @@ func Pbtrs(t blas64.TriangularBand, b blas64.General) {
|
||||
// and the underlying data between a and t is shared. P is stored on return in
|
||||
// vector piv such that P[piv[k],k] = 1.
|
||||
//
|
||||
// Pstrf also returns the computed rank of A and whether the algorithm completed
|
||||
// successfully. If ok is false, the matrix A is either rank deficient or is not
|
||||
// positive semidefinite.
|
||||
// Pstrf returns the computed rank of A and whether the factorization can be
|
||||
// used to solve a system. Pstrf does not attempt to check that A is positive
|
||||
// semi-definite, so if ok is false, the matrix A is either rank deficient or is
|
||||
// not positive semidefinite.
|
||||
//
|
||||
// The length of piv must be n and the length of work must be at least 2*n,
|
||||
// otherwise Pstrf will panic.
|
||||
|
Reference in New Issue
Block a user