Commit Graph

4896 Commits

Author SHA1 Message Date
Dan Kortschak
8d2aaa4a38 graph: fix undirected to directed copy behaviour 2018-02-22 20:03:33 +10:30
Dan Kortschak
11c45f8c35 travis: add go-1.10.x 2018-02-22 15:09:28 +10:30
Leonid Kneller
f9d0eed525 mathext: add associate elliptic integrals B(m),D(m)
* Added an implementation of 2 associate complete elliptic integrals B(m),D(m).
* Added tests for the implemented integrals. B(m) and D(m) can be expressed via K(m) and E(m), but with cancellation problems.
2018-02-21 09:31:35 +10:30
Brendan Tracey
996b88e8f8 optimize: completely overhaul Global (#352)
* optimize: completely overhaul Global

The previous implementation of Global was a minefield for incorrectly implementing global optimization methods. It was very difficult to correctly implement methods (both of the provided methods were incorrect), and the resulting code is very ugly. This commit switches to use channels to communicate, allowing a more clear ordering of concurrent code. This also enables better shutdown of methods.

In addition to the main fix of Global, this refactors the two Global methods to use the updated interface, and makes some small improvements that were previously not possible. In addition, there are some small cleanups of Local to better match between the two calls.

If anyone has been curious about what is meant by 'Don't communicate by sharing memory, share memory by communicating' this is it, and why.

* respond to PR comments

* make constants

* simplify termination logic

* optimize: simplify stats collection

* overhaul documentation and respond to PR comments

* implement PR requests

* clean up cmaes
2018-02-05 08:44:02 -07:00
kortschak
95fab73f1d github: direct questions to gonum-dev 2018-02-01 09:55:32 +10:30
Dan Kortschak
0d92589206 github: add issue and pull request templates 2018-01-31 21:02:14 +10:30
kortschak
39ce232e1a floats: fix Same for NaN/N 2018-01-31 07:26:30 +10:30
kortschak
870bcdceb6 stat: fix ROC for uniform cases 2018-01-30 06:56:02 +10:30
Vladimir Chalupecky
287df04a63 lapack/testlapack: add test cases for Dlarfg 2018-01-24 23:26:37 +01:00
Vladimir Chalupecky
393c118c3f lapack/testlapack: fix test for Dlarfg 2018-01-24 23:26:37 +01:00
Dan Kortschak
4be2818757 gen: add multigraph power-law generators 2018-01-24 07:04:00 +10:30
kortschak
34369ddb26 multi: new package implementing multigraph API 2018-01-19 21:59:01 +10:30
kortschak
07dfa0c90e graph/simple: fix documentation 2018-01-19 21:59:01 +10:30
kortschak
9806de04c7 graph: factor id handling out to internal package uid 2018-01-19 21:59:01 +10:30
Sebastien Binet
0ec7ac37df stat/distmv: use custom source in Uniform.Rand when available
Fixes gonum/gonum#394.
2018-01-17 21:01:03 +01:00
Vladimir Chalupecky
f1e2a598ae blas/gonum: use = instead of := in documentation 2018-01-12 15:32:24 +01:00
Vladimir Chalupecky
f14e8c9f10 lapack/gonum: reenable Dgeev and Dgebrd tests for noasm and appengine builds 2018-01-12 14:43:51 +01:00
Vladimir Chalupecky
2768e4f21b lapack/testlapack: loosen Dgeev test case tolerance 2018-01-12 14:43:51 +01:00
Vladimir Chalupecky
1687f1afa4 blas/testblas: add znan variable and use it in tests 2018-01-12 12:23:16 +01:00
Vladimir Chalupecky
b034f2ad24 blas/gonum: enable test for Ztpmv 2018-01-12 12:23:16 +01:00
Vladimir Chalupecky
d293114c05 blas/testblas: add test for Ztpmv 2018-01-12 12:23:16 +01:00
Vladimir Chalupecky
b567e533c5 blas/testblas: move test cases for Ztrmv to package-level variable 2018-01-12 12:23:16 +01:00
Vladimir Chalupecky
de9a3f5df6 blas/gonum: add Ztpmv 2018-01-12 12:23:16 +01:00
Vladimir Chalupecky
e2b441ced2 blas/testblas: rename packHermitian and unpackHermitian 2018-01-12 12:23:16 +01:00
kortschak
e9a64276f5 mat: generalise LU RankOne vector parameters 2018-01-12 08:22:41 +10:30
kortschak
81efe7a867 mat: generalise Cholesky SymRankOne vector parameter 2018-01-12 08:22:41 +10:30
kortschak
463c9f711f mat: generalise SymDense RankTwo vector parameters 2018-01-12 08:22:41 +10:30
kortschak
003363ab06 mat: generalise SymDense SymRankOne vector parameters 2018-01-12 08:22:41 +10:30
kortschak
146e16d5b4 mat: generalise Dense RankOne vector parameters 2018-01-12 08:22:41 +10:30
kortschak
7d975f4c67 mat: generalise Outer vector parameters 2018-01-12 08:22:41 +10:30
kortschak
6861c60a47 mat: handle vector transposes better 2018-01-11 20:53:02 +10:30
kortschak
69fc04c7c3 blas,lapack: remove reference to CGO installation 2018-01-07 11:04:21 +10:30
Vladimir Chalupecky
9629a7faeb mat: clean up Inner parameter naming 2018-01-03 23:55:38 +01:00
Vladimir Chalupecky
d4533cd4f6 blas,lapack,mat,unit: remove "Please" from documentation 2018-01-03 23:55:14 +01:00
kortschak
87056319dc simple: fix nil edge returns
Also clean up code formatting for consistency.
2018-01-02 20:13:10 +10:30
kortschak
a361656bfc mat: generalise SolveVec vector parameters 2017-12-31 21:19:18 +10:30
kortschak
98fb1ed640 mat: generalise Inner vector parameters 2017-12-31 07:25:46 +10:30
kortschak
6f65e4ee2e stat: generalise Mehalanobis vector parameters 2017-12-29 05:56:45 +10:30
Dan Kortschak
cd47c93d54 mat: relax list test type restrictions for Vector parameters 2017-12-27 19:24:49 +10:30
Dan Kortschak
6e57d606a5 mat: generalise basic arithmetic vector operations 2017-12-25 06:12:00 +10:30
kortschak
b52122b771 graph: remove out-of-date documentation 2017-12-22 18:31:36 +10:30
Brendan Tracey
57620814e8 stat/sampleuv,stat/samplemv: remove individual functions and rename t… (#357)
* stat/sampleuv,stat/samplemv: remove individual functions and rename types
2017-12-20 23:38:36 -05:00
Brendan Tracey
b87db04aa4 stat/distmv: add Nu function to Student's T (#356)
* stat/distmv: add Nu method to Student's T
2017-12-20 09:11:13 -07:00
Brendan Tracey
12862f70a9 stat/all: Change all Source to Src (#355)
* stat/all: Change all Source to Src

Fixes original gonum/stat #147
2017-12-19 05:53:59 -07:00
kczimm
5c0b5a65c5 stat: add uniform tests. (#307) 2017-12-18 20:40:24 -07:00
kortschak
ad5995341f mat: add TransposeVec 2017-12-15 16:18:52 +10:30
kortschak
785258ce25 mat: add VecDenseCopyOf function 2017-12-15 16:18:52 +10:30
Max Halford
afe00782c1 Tidy Kendall correlation code 2017-12-15 10:02:28 +10:30
Max Halford
6dd067537a Edit comment of KendallCorrelation 2017-12-15 10:02:28 +10:30
Max Halford
4ecd1f23e5 Add weighting to KendallCorrelation 2017-12-15 10:02:28 +10:30