Files
gonum/native/general.go
btracey 578f42c8df Rearrange Lapack to be like BLAS. Implement cholesky decomposition
Responded to PR comments

modified travis file

Changed input and output types

added back needed types by cgo

Fixed perl script so it compiles

Changes to genLapack to allow compilation

Reinstate test-coverage.sh
2015-05-08 15:47:34 -07:00

32 lines
406 B
Go

package native
import "github.com/gonum/lapack"
type Implementation struct{}
var _ lapack.Float64 = Implementation{}
const (
badUplo = "lapack: illegal triangle"
nLT0 = "lapack: n < 0"
badLdA = "lapack: index of a out of range"
)
func blockSize() int {
return 64
}
func min(a, b int) int {
if a < b {
return a
}
return b
}
func max(a, b int) int {
if a > b {
return a
}
return b
}