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

@@ -6,6 +6,8 @@ package native
// Iladlr scans a matrix for its last non-zero row. Returns -1 if the matrix
// is all zeros.
//
// Iladlr is an internal routine. It is exported for testing purposes.
func (Implementation) Iladlr(m, n int, a []float64, lda int) int {
if m == 0 {
return m - 1