Commit Graph

102 Commits

Author SHA1 Message Date
kortschak
434c403e6b cgo: move bindings to new package
This is a clean up of the code generation (reducing the line count
sigificantly and making failure much noisier prior to the CGO call -
though will only catch the most egregious errors).

The approach I've taken here differs significantly from that in blas/cgo
where all the checks are done in the generated binding code. Here there
is too much complexity, so we do the checks in the Implementation method
and then call the clapack function.

Also use CGO_LDFLAGS env var; this is how we do things in blas and it
allows us to have code that will work with go get when the environment
is correctly set up - without requiring go generate or perl use by the
client.
2015-07-16 09:36:17 +09:30
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