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
Spencer Lyon
020a1c5f72
mat: fix Row doc comment
2017-10-02 12:30:54 -04:00
Brendan Tracey
3a687b33d4
stat: Improve documentation and test for Moment ( #248 )
2017-09-29 22:27:21 -06:00
Brendan Tracey
1f58387cb6
stat: add BivariateMoment ( #244 )
...
* stat: add MixedMoment and fix bug in Moment code
* Revert unrelated changes, rename to BivariateMoment
* last fix
2017-09-29 07:03:31 -06:00
Robin Eklind
f786e6cd3c
graph/encoding/dot: store graph DOT ID if present ( #237 )
...
Add round trip test case for graph DOT ID.
2017-09-28 10:02:53 +02:00
Ekaterina Efimova
d822215c3b
A+C: add Ekaterina Efimova
2017-09-27 21:36:47 +09:30
Davor Kapsa
73bf631143
A+C: add Davor Kapsa
2017-09-27 15:33:13 +09:30
kortschak
db6d01ed81
graph/topo: rename VertexOrdering => DegeneracyOrdering
2017-09-20 07:32:35 +09:30
kortschak
f818f8f7a9
graph/path: allow Shortest to traverse negative cycles
...
Also add checks for cases where negative cycles exist but are not marked
to protect against future shortest path function additions.
2017-09-15 08:17:25 +09:30
Vladimir Chalupecky
dbb8f4774d
blas/gonum: add test for Zgemv
2017-09-15 00:37:03 +02:00
Vladimir Chalupecky
6c3eea8080
blas/gonum: add Zgemv
2017-09-15 00:37:03 +02:00
Vladimir Chalupecky
1025cfed57
blas/gonum: clean up Dgemv comment
2017-09-15 00:37:03 +02:00
kortschak
e6a5ea56fd
graph/topo: use degeneracyOrdering instead of VertexOrdering for BronKerbosch
2017-09-15 07:05:29 +09:30
kortschak
c86b60857a
graph/topo: fix error reporting for VertexOrdering test
2017-09-15 07:05:29 +09:30
kortschak
8b33e669be
graph/topo: add function to find k-core of undirected graph
2017-09-15 07:05:29 +09:30