kczimm
153d48337f
stat: implement Pareto ( #309 )
2017-12-07 23:23:03 -07:00
kortschak
3883f53293
travis: make import of math/rand fail build
2017-12-07 17:29:59 +10:30
kortschak
06f915dbd2
lapack/testlapack: relax tolerance for Dggsvd3
...
This is necessary to allow the netlib implementation to pass.
2017-12-07 16:20:57 +10:30
kortschak
b193f93dd4
stat/distuv: use golang.org/x/exp/rand
2017-12-07 15:33:45 +10:30
kczimm
c1e1bf3def
implement Poisson based on PR #259 ( #304 )
...
* stat/distuv: implement Poisson
2017-12-06 20:29:38 -07:00
Vladimir Chalupecky
c1df604729
lapack/testlapack: improve conditioning of test matrices for Dtrtri
...
This also allows us to tighten the test tolerance.
2017-12-06 22:29:34 +01:00
Vladimir Chalupecky
083d665abb
blas/gonum: enable test for Ztrsv
2017-12-06 12:15:57 +01:00
Vladimir Chalupecky
1cf4f56208
blas/testblas: add test for Ztrsv
2017-12-06 12:15:57 +01:00
Vladimir Chalupecky
7d8953a577
blas/gonum: add Ztrsv
2017-12-06 12:15:57 +01:00
Vladimir Chalupecky
65c0b63e47
blas/testblas: add zEqualApprox
2017-12-06 12:15:57 +01:00
Vladimir Chalupecky
f74a50354d
blas/testblas: enable passing nil data to makeZGeneral
2017-12-06 12:15:57 +01:00
Vladimir Chalupecky
d4b3b7957c
blas/testblas: fix zsame and adjust tests
...
Previously, the test condition for same-ness of two
complex numbers was wrong. The presence of even a single NaN in the real
or imaginary component of either number made both numbers to be
considered same.
This fix changes the logic so that two complex numbers are considered
same if:
* both numbers have both components NaN
* both numbers have one component NaN and the other is exactly equal
* both numbers have both components exactly equal
2017-12-06 12:15:57 +01:00
kortschak
de75875b14
graph/topo: add 2-sat example
2017-11-28 06:46:55 +10:30
Brendan Tracey
f465caccb0
optimize: Add CMA-ES Cholesky global optimization method ( #276 )
...
* optimize: Add CMA-ES Cholesky global optimization method
2017-11-25 21:17:26 -06:00
Dan Kortschak
0777e22537
graph/network: add heat diffusion propagation functions
2017-11-25 06:48:06 +10:30
Vladimir Chalupecky
4572f2bc4a
blas/gonum: add test for Ztrmv
2017-11-23 11:23:53 +01:00
Vladimir Chalupecky
fd9f9d520e
blas/testblas: add test for Ztrmv
2017-11-23 11:23:53 +01:00
Vladimir Chalupecky
c35996315c
blas/gonum: add Ztrmv
2017-11-23 11:23:53 +01:00
Dan Kortschak
95704fa00e
floats: add functions for handling NaN payloads
...
This handles the simple case of ignoring sign and only dealing with
quiet NaN values since signalling NaN would require that we check that
at least one of the low bits was set and fail somehow if not.
Note that Go treats all NaNs as silent.
2017-11-20 20:20:44 +10:30
Brendan Tracey
a3eff45798
stat/combin: add Cartesian for constructing the cartesian product of … ( #303 )
...
* stat/combin: add Cartesian for constructing the cartesian product of a set of slices
2017-11-19 22:17:43 -07:00
Dan Kortschak
790b7356e7
all: migrate to golang.org/x/exp/rand
2017-11-20 15:20:25 +10:30
Vladimír Chalupecký
82b508537e
mat: fix docs and error check in Cholesky.ExtendVecSym
2017-11-18 23:24:30 +01:00
Josh Wilson
2ebcb78464
A+C: add Josh Wilson
2017-11-17 16:58:03 +10:30
Josh Wilson
ffa26cba53
mathext: speed up Digamma for large negative arguments
...
Before the Digamma function could be quite slow for large negative
arguments because it had to do use the recurrence relation thousands
of times. This avoids that by instead using the reflection formula. It
also adds some explicit checks for special cases (Inf, NaN, poles).
2017-11-17 16:58:03 +10:30
kortschak
54a5f6f081
all: fix build and make tests pass with new streams
2017-11-17 12:38:53 +10:30
kortschak
fa0c5aa7bc
all: use golang.org/x/exp/rand instead of math/rand
2017-11-17 11:52:34 +10:30
Brendan Tracey
23014c0119
mat: add ability to compute the Cholesky when adding a row and column… ( #298 )
...
* mat: add ability to compute the Cholesky when adding a row and column to the factorized matrix
2017-11-16 17:11:32 -07:00
kortschak
81f1289e48
all: run Go tip gofmt -s
2017-11-16 17:54:36 +10:30
Francesc Campoy
718272fdee
add Francesc Campoy and source{d} to A+C
2017-11-15 07:34:29 +10:30
kortschak
805531d142
all: change capitalization of gonum in license header
2017-11-02 06:54:08 +10:30
Brendan Tracey
637e7b76b9
stat/samplemv: give tests fixed random seeds ( #290 )
2017-10-27 00:27:34 -06:00
kortschak
21d5891471
all: remove go1.7 build constraints
2017-10-27 13:48:47 +10:30
kortschak
8c60ecd94c
stat/sampleuv: add missing return
2017-10-26 17:13:47 +10:30
kortschak
a14e45c7ad
mat: tidy up example formatting
2017-10-26 14:26:56 +10:30
Jeremy Atkinson
e01b7a02ec
added examples for mul/exp/pow/scale
2017-10-26 12:32:29 +10:30
Brendan Tracey
5668e4c11f
stat/samplemv: add Halton sampling procedure ( #264 )
...
* stat/samplemv: add Halton sampling procedure
2017-10-25 17:02:30 -06:00
Brendan Tracey
0e1d863d72
stat/distmv: add function for directly computing normal log probability ( #281 )
...
* stat/distmv: add function for directly computing normal log probability
2017-10-24 22:47:13 -06:00
Jeremy Atkinson
fa851461dd
mat: added a few godoc examples for Dense methods ( #263 )
...
* added a few godoc examples for Dense methods
2017-10-24 09:22:15 -06:00
kortschak
49a081d427
mat: don't confuse notions of zero
...
Replacement of isZero method calls elsewhere is done to avoid conflating
the zero concept with what we are actually asking: "Do we need to make a
matrix here?"
2017-10-24 16:30:21 +10:30
Vladimir Chalupecky
c1c4dfa26b
blas/gonum: add implementation comments to Zhemv
2017-10-23 11:21:29 +02:00
Vladimir Chalupecky
5e1fba744e
gonum/blas/testblas: add test for Zhemv
2017-10-23 11:21:29 +02:00
Vladimir Chalupecky
b74acdfcd6
blas/gonum: add Zhemv
2017-10-23 11:21:29 +02:00
Brendan Tracey
ce73cefcda
stat/distmv: remove use of lower and add method for directly generati… ( #274 )
...
* stat/distmv: remove use of lower and add method for directly generating a random number
2017-10-19 23:02:07 -06:00
Brendan Tracey
3c877c5eba
mat: Add RawU method to the Cholesky decomposition to directly expose… ( #273 )
...
* mat: Add RawU method to the Cholesky decomposition to directly expose the storage matrix
This is returned as Triangular rather than TriDense for two reasons
1) In the future, we may be able to optimize Cholesky, for instance by storing the decomposition as a banded matrix if the factorized matrix was banded. Returning as Triangular allows this to be robust to future modifications of Cholesky.
2) Normally one wants to return concrete types to allow maximum flexibility is using them, for example avoiding interface assertions. However, the opposite is true here. The user should not modify the returned data, and by returning a Triangular rather than a TriDense, this forces tricky code in order to be able to modify the returned matrix.
Fixes #270 .
2017-10-19 20:50:26 -06:00
Brendan Tracey
ac9ad9e533
mat: Add Scale method for TriDense and Cholesky ( #267 )
...
* mat: Add Scale method for TriDense and Cholesky
2017-10-19 07:24:29 -06:00
Brendan Tracey
38fbc22caf
optimize: Update documentation for Global and clean up usage of globa… ( #265 )
...
* optimize: Update documentation for Global and clean up usage of globalStatus
2017-10-17 09:15:41 -06:00
Daniel Fireman
aff0e10c44
stat: unexport Panics testing helper
...
A+C: add Daniel Fireman
2017-10-10 14:04:33 +10:30
Brendan Tracey
fa42c6938b
mat: change cholesky.To to cholesky.ToSym ( #250 )
...
* mat: change cholesky.To to cholesky.ToSym
Fixes #133
2017-10-02 15:35:10 -06:00
Chad Kunde
18ecaeca93
Merge pull request #251 from sglyon/patch-1
...
DOC: fix typo in documentation for `Row` method
2017-10-02 14:22:09 -07:00
Spencer Lyon
b596c0f140
A+C: add Spencer Lyon
2017-10-02 12:31:20 -04:00