Commit Graph

5155 Commits

Author SHA1 Message Date
Vladimir Chalupecky
ae9628abb9 blas: change matrix description types to byte 2018-09-30 18:03:15 +02:00
Dan Kortschak
7327b2525c github: extend issues templates 2018-09-30 06:10:10 +09:30
Dan Kortschak
72b16051b3 graph: fix doc for Undirect*.Node 2018-09-29 22:38:50 +09:30
Dan Kortschak
46d85b5bdf graph: avoid issues around graph node retrieval subtleties
With the approach to graph node mutation on edge setting the previously
existed there was an issue that the edge last used connect a pair of
nodes could result in a difference in the nodes being returned by a node
query compared to the same node associated with edges returned from an
edge query.

This change avoids dealing with that by making it implementation
dependent and stating this, and by making all the node-storing graphs
we provide mutate the nodes when edges are set.
2018-09-29 19:26:44 +09:30
Dan Kortschak
5616fb91a0 lapack/gonum: move panic strings to separate file 2018-09-27 14:03:36 +09:30
Vladimir Chalupecky
1b7b288aab lapack/gonum: fix doc comment for Dsteqr 2018-09-25 06:27:23 +02:00
Vladimir Chalupecky
406815f7a7 lapack: remove None const 2018-09-25 06:27:23 +02:00
Vladimir Chalupecky
8ecf638470 lapack: add SchurComp and SchurUpdateComp types and consts, rename EVComp consts 2018-09-25 06:27:23 +02:00
Vladimir Chalupecky
6d5ac7aa26 lapack: rename DecompUpdate and add GenOrtho types and consts 2018-09-25 06:27:23 +02:00
Dan Kortschak
72366fbe54 graph/{multi,simple}: ensure implementations satisfy the interfaces they target 2018-09-23 19:12:43 +09:30
Dan Kortschak
b73a2c92ff graph: add node, edge and line iterators 2018-09-23 09:25:56 +09:30
Dan Kortschak
20644dbe1a README: fix travis badge and link 2018-09-13 16:26:51 +09:30
Dan Kortschak
fa04bde682 mat: avoid hard coding expected output that depends on weak promises
Note that the tests here are less tautological than they first appear. The
expectations are printed with %#v on a *Dense, while the tests are printed
with %#v via a formatter.
2018-09-13 08:37:57 +09:30
Dan Kortschak
a809dafcb1 stat/spatial: fix example name 2018-09-06 17:04:44 +09:30
Dan Kortschak
36be7e6faa travis: check for copyright headers 2018-09-05 16:54:43 +09:30
Dan Kortschak
70492dcef1 all: quieten vet for unkeyed composite literals in test code 2018-09-02 07:59:12 +09:30
Dan Kortschak
3f94af49e6 testlapack: quieten vet for unkeyed composite literals in importable code 2018-09-02 07:59:12 +09:30
Dan Kortschak
26c60db8b2 mat: quieten vet for unkeyed composite literals in importable code 2018-09-02 07:59:12 +09:30
bigflood
0b673ab98b stat/distuv: more accurate calculation of Normal.CDF and LogNormal.CDF (#580)
* A+C: add Taesu Pyo

* stat/distuv: more accurate calculation of Normal.CDF and Lognormal.CDF

Fixes #577
2018-09-01 23:27:15 +01:00
Dan Kortschak
e0fce0cf69 doc: fix links to repositories 2018-09-01 09:08:33 +09:30
Sebastien Binet
95e9db9a70 stat: add example for LinearRegression 2018-08-27 07:08:14 +02:00
Sebastien Binet
e09c1d5ea5 travis: add Go1.11.x, drop Go1.8.x 2018-08-26 00:56:36 +02:00
Vladimir Chalupecky
3092bd2577 lapack: add BalanceNone const 2018-08-23 06:57:27 +02:00
Vladimir Chalupecky
b132fde8ea lapack: rename HowMany type and consts 2018-08-23 06:57:27 +02:00
Vladimir Chalupecky
7ef6056c6f lapack: rename EVSide consts 2018-08-23 06:57:27 +02:00
Vladimir Chalupecky
d3817b5e18 lapack: add SchurJob type 2018-08-23 06:57:27 +02:00
Vladimir Chalupecky
a6f3f37374 lapack: rename LeftEV and RightEV job constants 2018-08-23 06:57:27 +02:00
Vladimir Chalupecky
de667f08e7 lapack: rename ComputeEV and add EVNone 2018-08-23 06:57:27 +02:00
Dan Kortschak
0d92706921 graph/path: add Yen k-shortest paths implementation
Also add Rishi Desai, primary-author of the commit.
2018-08-22 07:50:28 +09:30
Vladimir Chalupecky
3c25c9ca05 lapack: remove Comp type 2018-08-21 15:05:50 +02:00
Vladimir Chalupecky
705671e829 lapack: remove Job type 2018-08-21 15:05:50 +02:00
Vladimir Chalupecky
1ec00850c6 lapack: add BalanceJob type 2018-08-21 15:05:50 +02:00
Vladimir Chalupecky
929014505b blas/blas64: reorder struct fields
Reorder vector and matrix struct fields to match the order in which BLAS
routines accept them. This makes calls with inline declarations with
unnamed fields consistent and easier to understand.
2018-08-16 18:54:07 +02:00
Sebastien Binet
f4b55da7ee blas: fix documentation of Use functions
This was noticed while adapting JuliaLang/Microbenchmarks#27 to the new
Gonum import paths.
This CL somewhat clarifies the correct default implementation (pure-Go)
used by the various blas{32,64} and cblas{64,128} packages.
2018-08-14 09:40:08 +02:00
Brendan Tracey
73ea1e7329 stat: optimize LinearRegression code, providing speedups of 40% (#563)
* stat: optimize LinearRegression code, providing speedups of 40%

Benchmarks
BenchmarkLinearRegression/n10000wfof-8 70687 42916 -39.29%
BenchmarkLinearRegression/n10000wfof-8 66305 40844 -38.40%
BenchmarkLinearRegression/n10000wfof-8 66262 40922 -38.24%
BenchmarkLinearRegression/n10000wfof-8 65864 42854 -34.94%
BenchmarkLinearRegression/n10000wfof-8 65366 40753 -37.65%
2018-08-02 16:18:28 -04:00
Brent Pedersen
85c178576a add me to A+C
see: gonum/exp#13
2018-08-02 19:37:50 +09:30
Francesc Campoy
46d1865d43 floats: use asm version of AddConst when available 2018-08-01 02:05:33 -07:00
Saran Ahluwalia
1c02c2957e mat: add error handling for slice to zero dimension 2018-07-31 18:01:36 +09:30
Vladimir Chalupecky
07dedad3fa lapack/testlapack: separate gonum import by blank line 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
77faf9932c lapack/testlapack: clean up Dorg2lTest 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
19fd162bf9 lapack/testlapack: clean up hasOrthonormalColumns helper 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
25826f7966 lapack/testlapack: fix comments and error messages about orthogonality 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
22345aeeda lapack/testlapack: use isOrthogonal in Dsytd2 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
ac556fa015 lapack/testlapack: add test for randomOrthogonal
... and remove the orthogonality assertion in randomOrthogonal.
2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
99b6f69bff lapack/testlapack: move randomOrthogonal 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
6f49b3c58f lapack/testlapack: rename isOrthonormal to isOrthogonal 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
6c36e0d6b7 lapack/testlapack: clean up isOrthonormal 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
6cb44aa022 lapack/testlapack: use isOrthonormal instead of ad hoc checks 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
0bf5c67a31 mat: use lapack64.Potrs in Cholesky 2018-07-30 09:03:01 +02:00
Vladimir Chalupecky
e506ea963b lapack/gonum: enable test for Dpotrs 2018-07-30 09:03:01 +02:00