Commit Graph

7 Commits

Author SHA1 Message Date
btracey
376807a880 Add the linear solve routines (Dgetrs, Dgels) to the lapack64 interface 2015-08-04 00:15:50 -06:00
btracey
80e9717bf5 Add LQ factorization to cgo and tests
Responded to PR comments
2015-08-03 23:14:09 -06:00
btracey
0331cab04a Add QR factorization to lapack64 interface. 2015-08-03 10:21:37 -06:00
btracey
32bdb776ef Add Dgetrs (compute a solution based on LU factorization) and test.
Responded to PR comments
2015-08-02 09:14:58 -06:00
btracey
a0a68a3b68 Add dgetrf and tests
removed unnecessary requirement

Implement Dlaswp in both directions

Responded to PR comments
2015-08-01 21:20:48 -06:00
btracey
809045e88e Add Dgetf2 (unblocked LU algorithm) and tests
fixed incorrect comment and incorrect test

Real permutations and PR comments

Add cgo tests

fix indexing error

change return to ok

fix okays

fix ok
2015-07-29 23:48:29 -06:00
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