Commit Graph

9 Commits

Author SHA1 Message Date
Dan Kortschak
3d32334f97 mat: rename Symmetric method to SymmetricDim 2021-08-23 07:02:27 +09:30
Dan Kortschak
163f1af942 stat/mds: add warning about ED numerical stability 2021-03-17 20:51:41 +10:30
Brendan Tracey
5d5638e674 stat/*: Update functions to take empty matrices (#1102)
* stat/*: Update functions to take empty matrices

Change TorgersonScaling to require an empty matrix. Users who want to reuse data can call Reset now that it is exposed. This function is different than others because the return size is unknown. Forcing the input matrix to be empty makes it clear that the dst matrix will be dynamically resized

Fixes #1081.
2019-10-09 23:20:26 +01:00
Brendan Tracey
975d99cd20 mat,all: Rename IsZero to IsEmpty (#1088)
This avoids the confusion between Zero() and IsZero() which sounds like they should be related
to one another but are not. This makes IsEmpty the counterpart to Reset. Add check for Zero in allMatrix

Fixes #1083.
Updates #1081.
2019-09-15 13:53:29 +01:00
Brendan Tracey
83576e8213 Move EigenvectorsSym to VectorsTo (#918)
This is in line with the other factorization extraction methods.

Fixes #847.
2019-03-25 06:56:07 +00:00
Dan Kortschak
805040dba5 stat/mds: reduce work in TorgersonScaling and fix k return
The fix for k papers over inaccuracies in near zero Eigenvalues. So this
may want further work there.
2019-01-15 23:24:47 +10:30
Dan Kortschak
9d66d7e8f5 mat: rename NewDiagonal to NewDiagDense 2018-12-14 22:45:14 +10:30
Brendan Tracey
572d9101fe blas64: add length field N to Vector
blas64: add length field N to Vector

Alongside, fix the implementation of mat.VecDense and mat.Diagonal, as well as other changes needed to fix this change.

Fixes #736.
2018-12-10 08:36:04 +00:00
Dan Kortschak
22ecbbb4f5 mds: new package for multidimensional scaling 2018-05-05 16:24:40 +09:30