diff --git a/cgo/lapack.go b/cgo/lapack.go index 497fb2bb..48fede19 100644 --- a/cgo/lapack.go +++ b/cgo/lapack.go @@ -439,10 +439,11 @@ func (impl Implementation) Dlascl(kind lapack.MatrixType, kl, ku int, cfrom, cto lapacke.Dlascl(byte(kind), kl, ku, cfrom, cto, m, n, a, lda) } -// Dlaset sets the off-diagonal elements of a to alpha, and the diagonal elements -// of a to beta. If uplo == blas.Upper, only the upper diagonal elements are set. -// If uplo == blas.Lower, only the lower diagonal elements are set. If uplo is -// otherwise, all of the elements of a are set. +// Dlaset sets the off-diagonal elements of A to alpha, and the diagonal +// elements to beta. If uplo == blas.Upper, only the elements in the upper +// triangular part are set. If uplo == blas.Lower, only the elements in the +// lower triangular part are set. If uplo is otherwise, all of the elements of A +// are set. // // Dlaset is an internal routine. It is exported for testing purposes. func (impl Implementation) Dlaset(uplo blas.Uplo, m, n int, alpha, beta float64, a []float64, lda int) { diff --git a/native/dlaset.go b/native/dlaset.go index 2bb6e6e0..2781ad56 100644 --- a/native/dlaset.go +++ b/native/dlaset.go @@ -6,10 +6,11 @@ package native import "github.com/gonum/blas" -// Dlaset sets the off-diagonal elements of a to alpha, and the diagonal elements -// of a to beta. If uplo == blas.Upper, only the upper diagonal elements are set. -// If uplo == blas.Lower, only the lower diagonal elements are set. If uplo is -// otherwise, all of the elements of a are set. +// Dlaset sets the off-diagonal elements of A to alpha, and the diagonal +// elements to beta. If uplo == blas.Upper, only the elements in the upper +// triangular part are set. If uplo == blas.Lower, only the elements in the +// lower triangular part are set. If uplo is otherwise, all of the elements of A +// are set. // // Dlaset is an internal routine. It is exported for testing purposes. func (impl Implementation) Dlaset(uplo blas.Uplo, m, n int, alpha, beta float64, a []float64, lda int) {