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:
kortschak
2016-03-15 14:32:35 +10:30
parent 55e3701411
commit 4813c5ed41
62 changed files with 137 additions and 26 deletions

View File

@@ -15,11 +15,13 @@ import "github.com/gonum/blas"
// If side == blas.Left, a is a matrix of side k×m, and if side == blas.Right
// a is of size k×n.
//
// Tau contains the Householder factors and is of length at least k and this function will
// tau contains the Householder factors and is of length at least k and this function will
// panic otherwise.
//
// Work is temporary storage of length at least n if side == blas.Left
// work is temporary storage of length at least n if side == blas.Left
// and at least m if side == blas.Right and this function will panic otherwise.
//
// Dorml2 is an internal routine. It is exported for testing purposes.
func (impl Implementation) Dorml2(side blas.Side, trans blas.Transpose, m, n, k int, a []float64, lda int, tau, c []float64, ldc int, work []float64) {
if side != blas.Left && side != blas.Right {
panic(badSide)