native,cgo: add error checking to Dlaswp and update docs

This commit is contained in:
Vladimir Chalupecky
2016-11-28 00:00:20 +01:00
parent 369385e976
commit 1a9358e84b
3 changed files with 52 additions and 10 deletions

View File

@@ -32,8 +32,10 @@ const (
badHowMany = "lapack: bad HowMany"
badIlo = "lapack: ilo out of range"
badIhi = "lapack: ihi out of range"
badIpiv = "lapack: insufficient permutation length"
badIpiv = "lapack: bad permutation length"
badJob = "lapack: bad Job"
badK1 = "lapack: k1 out of range"
badK2 = "lapack: k2 out of range"
badKperm = "lapack: incorrect permutation length"
badLdA = "lapack: index of a out of range"
badNorm = "lapack: bad norm"