Commit Graph

5436 Commits

Author SHA1 Message Date
Dan Kortschak
3db0b42b51 mat: line break code consistently with LQ and LU 2019-08-05 13:25:13 +09:30
Dan Kortschak
761db73e45 mat: fix doc comment for LQ.Factorize 2019-08-05 13:25:13 +09:30
Dan Kortschak
dd3505df7d mat: move sizeInt64 to testing file to quieten unused 2019-08-05 09:20:35 +09:30
Dan Kortschak
bd38d47bf6 mat: remove dead code in overlap testing
This should have been removed in b525d7 when the code was switched to
rectangular.
2019-08-05 06:59:15 +09:30
Vladimir Chalupecky
9c10b50738 lapack/gonum: refactor inner loop in Dpbcon 2019-08-03 09:39:02 +02:00
Vladimir Chalupecky
3cac0797bd lapack/testlapack: add test for Dpbcon 2019-08-03 09:39:02 +02:00
Vladimir Chalupecky
5e114941f3 lapack/gonum: add Dpbcon 2019-08-03 09:39:02 +02:00
Dan Kortschak
e8e4638a21 graph/multi: don't allocate line maps before they are needed 2019-08-03 07:06:15 +09:30
Dan Kortschak
4e61e64b45 graph/simple: don't allocate edge maps before they are needed
Also fix incorrect optimisation in WeightedDirected.Nodes.
2019-08-03 07:06:15 +09:30
Vladimir Chalupecky
e9a50d6433 lapack/gonum: fix matrix slice length checks in banded functions 2019-08-02 10:40:26 +02:00
Dan Kortschak
39b295f7af Merge pull request #1024 from gonum/graph/layout-isomap
graph/layout: add Isomap layout
2019-08-01 19:35:51 +09:30
Vladimir Chalupecky
516002632a testlapack/gonum: address PR comments 2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
9fe5dd93fa lapack/gonum: simplify logic for transposed case in Dlatbs 2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
6cd269eb0d lapack/gonum: address PR comments for Dlatbs 2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
0803f6791e lapack/testlapack: add test for Dlatbs 2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
1fb24f4bf7 lapack/testlapack: add dlattb helper 2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
093cb9b28a lapack/gonum: add Dlatbs 2019-08-01 12:05:23 +02:00
Dan Kortschak
15e6740a66 graph/layout: don't use archaic spelling 2019-08-01 12:39:57 +09:30
Dan Kortschak
3129c79de2 graph/testgraph: test for missing From and To paths 2019-07-25 07:03:54 +09:30
Brendan Tracey
a8659125a9 mat: replace untranspose with untransposeExtract (#1036)
* mat: replace untranspose with untransposeExtract

This leaves one remaining use in TriDense but that case is a bit more complicated
2019-07-24 14:37:15 +01:00
Brendan Tracey
2122b538b6 mat: Use untransposeExtract in Dense.Mul (#997) 2019-07-23 20:27:42 +01:00
Brendan Tracey
9cfd3e46f1 stat/combin: Fix CombinationGenerator comment (#1028)
It's confusing to say that Combination generates the next combination, when really it generates the current one with Next doing the advancing.
2019-07-23 10:12:18 +01:00
Dan Kortschak
4cb73befae travis: make conditional test coverage analysis work again 2019-07-23 07:02:37 +09:30
Dan Kortschak
b16c96abd8 graph/{multi,simple}: fix empty To optimisation 2019-07-22 22:34:55 +09:30
Dan Kortschak
89197710bd travis: only run coverage when secure and on master 2019-07-22 15:27:28 +09:30
Dan Kortschak
1f8b402c01 graph/layout: add Isomap layout 2019-07-22 12:37:24 +09:30
Dan Kortschak
07619a1c75 travis: allow coverage scripts to run 2019-07-21 07:27:03 +09:30
Dan Kortschak
dafd13b32d graph/iterator: guard against iteration panic
The reflect package panics when any of Key, Value or Next are called
after Next returns false. We don't do that in the other iterators, so
we shouldn't do it here.
2019-07-20 21:02:08 +09:30
Dan Kortschak
c1fdadf7ea graph/layout: new package for calculating graph layouts 2019-07-20 20:12:57 +09:30
Dan Kortschak
b8a36307b8 graph/iterator: properly test iterator reset 2019-07-20 19:50:24 +09:30
Dan Kortschak
2120b82d14 graph/iterator: add unordered node iterator 2019-07-20 18:24:32 +09:30
Dan Kortschak
4340aa3071 stat: fix spelling and punctuation in stat.go
* misspelling
* full stops
* capitalisation
* TODO ownership
* naked returns
2019-07-10 15:02:02 +09:30
Dan Kortschak
70ddf0df3d mat: set caps when raw matrix is set 2019-07-04 20:03:27 +09:30
Dan Kortschak
0a381ca743 mat: ensure number of elements to be copied is sanitised for blas64 2019-07-04 17:01:04 +09:30
Dan Kortschak
536a303fd6 spatial/vptree: return error rather than panic 2019-06-29 08:00:43 +09:30
Dan Kortschak
6006dfb55c spatial/barneshut: catch finitely too far points 2019-06-29 07:17:10 +09:30
Dan Kortschak
e34e6b933b spatial/{barneshut,vptree}: refuse points at infinity 2019-06-25 07:32:46 +09:30
Sebastien Binet
90b7154515 stat/combin: add example for Combinations 2019-06-21 14:54:49 +02:00
Sebastien Binet
5c77642844 spatial/r1: import and rename from bound
* spatial/r1: import and rename from bound

Mechanically generated with:

 $> gomvpkg -from gonum.org/v1/gonum/bound -to gonum.org/v1/gonum/spatial/r1 -vcs_mv_cmd "git mv {{.Src}} {{.Dst}}"

Fixes #956.
2019-06-21 13:49:53 +02:00
Dan Kortschak
5dc218f865 modules: fix expected language version directive 2019-06-18 11:29:08 +09:30
Vladimir Chalupecky
0991127588 lapack/gonum: extend docs for Dpbtrs 2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
d7f6bfa9af lapack/testlapack: remove unused SymBand helpers 2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
ce6986a678 lapack/testlapack: simplify randSymBand and use it in Dpb* tests 2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
e307a7a43c lapack/testlapack: test Dpbtf2 like Dpbtrf 2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
7895aa8c2a lapack/testlapack: add test for Dpbtrs 2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
fce8621a32 lapack/gonum: add Dpbtrs 2019-06-17 12:52:28 +02:00
Dan Kortschak
d9311e1290 bound: revert addition of set helpers
Revert:
* "bound: rewrite tests to use tables and fix unsorted input handling for Union"
* "bound: add Union function"
* "bound: Add Intersection helper for bound package (#954)"

This reverts commits:
* b869779d1d
* 5e6a2d4f36
* 0fa7915c50

Reason for reversions: It is not clear that we know how this should be done yet.
2019-06-17 20:04:46 +09:30
Vladimir Chalupecky
2bf3099108 lapack/testlapack: add test for Dpbtrf 2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
7266ee9df4 lapack/gonum: add Dpbtrf 2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
1ebd909faf lapack/testlapack: update implementation and docs of randSymBand helper 2019-06-14 19:31:40 +02:00