mirror of
https://github.com/gonum/gonum.git
synced 2025-10-21 14:19:35 +08:00
native: mark internal routines
These (generally) cannot be made unexported because we test via testlapack. Also fix a name and some capitalisation.
This commit is contained in:
@@ -9,6 +9,8 @@ import "github.com/gonum/blas/blas64"
|
||||
// Dlaswp swaps the rows k1 to k2 of a according to the indices in ipiv.
|
||||
// a is a matrix with n columns and stride lda. incX is the increment for ipiv.
|
||||
// k1 and k2 are zero-indexed. If incX is negative, then loops from k2 to k1
|
||||
//
|
||||
// Dlaswp is an internal routine. It is exported for testing purposes.
|
||||
func (impl Implementation) Dlaswp(n int, a []float64, lda, k1, k2 int, ipiv []int, incX int) {
|
||||
if incX != 1 && incX != -1 {
|
||||
panic(absIncNotOne)
|
||||
|
Reference in New Issue
Block a user