From 2416fc01330447e311be999ae88f86d54597c7a7 Mon Sep 17 00:00:00 2001 From: btracey Date: Sat, 12 Sep 2015 22:13:56 -0600 Subject: [PATCH] Improve dtrtri cgo comment --- cgo/lapack.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cgo/lapack.go b/cgo/lapack.go index d9c51ccd..0f522ec3 100644 --- a/cgo/lapack.go +++ b/cgo/lapack.go @@ -577,9 +577,11 @@ func (impl Implementation) Dtrcon(norm lapack.MatrixNorm, uplo blas.Uplo, diag b } // Dtrtri computes the inverse of a triangular matrix, storing the result in place -// into a. This is the BLAS level 3 version of the algorithm. +// into a. This is the BLAS level 3 version of the algorithm which builds upon +// Dtrti2 to operate on matrix blocks instead of only individual columns. // -// Dtrti returns whether the matrix a is singular. +// Dtrti returns whether the matrix a is singular or whether it's not singular. +// If the matrix is singular the inversion is not performed. func (impl Implementation) Dtrtri(uplo blas.Uplo, diag blas.Diag, n int, a []float64, lda int) (ok bool) { checkMatrix(n, n, a, lda) if uplo != blas.Upper && uplo != blas.Lower {