Commit Graph

25 Commits

Author SHA1 Message Date
Jes Cok
bd727a9e14 all: fix typos 2023-07-16 13:37:17 +09:30
Vladimir Chalupecky
f2b03354e0 mat: fix Dense.Inverse
The condition number of A was computed by Gecon not from the LU
factorization of A but rather from A^{-1} due to the preceding call to
Getri.

Fixed by reordering the various lapack calls and by allocating
an additional integer work slice.
2020-11-11 00:06:03 +01:00
Vladimir Chalupecky
dc8c08689a mat: consolidate basic types for testing in single file 2020-10-12 23:24:27 +02:00
Vladimir Chalupecky
40b831e267 mat: clean up basicVector and rawVector types in tests 2020-10-10 22:54:41 +02:00
Dan Kortschak
7b6a63e4e7 mat: don't use global rand state 2020-03-19 17:44:06 +10:30
Egon Elbre
190873a112 mat: make tests parallel 2020-03-16 16:10:59 +02:00
Dan Kortschak
ad4f952ec5 mat: add Kronecker product function 2019-12-28 07:33:39 +10:30
Dan Kortschak
3ce8ac2a2f mat: fix benchmark typo 2019-08-05 15:28:05 +09:30
Dan Kortschak
c5f01565d8 mat: rename Cloner=>ClonerFrom and Clone=>CloneFrom 2019-06-08 21:20:22 +09:30
jonreiter@gmail.com
48323a4c88 mat: add benchmarks for Sum with Dense, SymDense, TriDense and VecDense 2019-04-03 19:38:10 +10:30
Dan Kortschak
72a1f1464f mat: fix test for changes in Go runtime
See golang/go@2c423f063b.
2019-03-19 17:28:44 +10:30
Dan Kortschak
5e1727134a mat: run gofmt -s -w 2019-02-09 06:26:38 +10:30
Brendan Tracey
199b7405a3 mat: Add Dense name to Dense-related tests (#827)
FIxes 712.
2019-02-01 15:25:55 +00:00
Brendan Tracey
bcbf6c8e4e mat: Add Zero method to reset values of matrices (#819)
* mat: Add Zero method to reset values of matrices
2019-01-27 22:16:06 +00:00
Brendan Tracey
b53e0d9ab0 mat: Add DiagView methods to types (#711)
* mat: Add DiagView methods to types

Fixes #213
2018-11-29 16:08:30 +00:00
Brendan Tracey
4a8f318905 Listtypes (#714)
* mat: Add missing types to list test

With the recent additions of Diagonal and TriBanded, there were some matrix types that were not added to the list of testing types. There were additionally some older types that had been left out. This PR completes the set of types, their transposes, and their basic counterparts to the set of matrices. Changes are made to the makeNew etc. routines in order to support this.

This also changes the behavior of Triangle to return the embedded TriKind even if the matrix IsZero (before we intentionally corrupted the value). We document that the value cannot be trusted, so it shouldn't matter, but this way is simpler, and allows the TriKind to be used in list_test to specify matrices with different TriKind.

Fixes #266
2018-11-28 09:19:22 +00:00
Vladimir Chalupecky
15fdfa5208 mat: change expected panic message in dense test 2018-11-15 06:14:16 +01:00
Dan Kortschak
c0eb081727 mat: fix Exp function behaviour for large norms 2018-03-23 06:22:08 +10:30
kortschak
7d975f4c67 mat: generalise Outer vector parameters 2018-01-12 08:22:41 +10:30
kortschak
fa0c5aa7bc all: use golang.org/x/exp/rand instead of math/rand 2017-11-17 11:52:34 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
James Bowman
e01a71d4d5 mat: make RowView and ColView return Vector type and add RowViewOf and ColViewOf
Also change Dot signature to accept Vector parameters.
2017-09-02 06:55:38 +09:30
kortschak
862a4c5a4f mat: rename Vector->VecDense 2017-07-31 09:59:22 +09:30
kortschak
04e85c11cc blas/gonum: panic with more informative messages 2017-06-24 09:33:18 +09:30
Brendan Tracey
3fa9374bd4 matrix: rename matrix to mat, and merge with mat64 and cmat128.
This merges the three packages, matrix, mat64, and cmat128. It then renames this big package to mat. It fixes the import statements and corresponding code
2017-06-13 10:26:10 -06:00