Commit Graph

2636 Commits

Author SHA1 Message Date
Saurabh 6d26f4f32c Merge branch 'dev' of github.com:smr97/nalgebra into dev 2022-03-12 15:12:32 -07:00
Saurabh b19f0d7473 unnecessary index information 2022-03-12 15:04:08 -07:00
Saurabh a2422ee02b filter out only matrix files 2022-03-12 15:04:08 -07:00
Saurabh 424207914b run over a directory 2022-03-12 15:04:08 -07:00
Saurabh 8c1186db3c Added missing example file 2022-03-12 15:04:08 -07:00
Saurabh ff3d1e4e35 prealloc everything, remove hashset, make it 4x faster 2022-03-12 15:04:08 -07:00
Saurabh e7d8a00836 add spmm example and change the kernel 2022-03-12 15:04:08 -07:00
Sébastien Crozet 30c0450075 CI: set the CUDA_ARCH env var when targetting nvptx 2022-03-11 18:06:40 +01:00
Sébastien Crozet 1c4c3de92e CI: pin the version of Cuda 2022-03-11 17:43:01 +01:00
Sébastien Crozet 6d89e2aca6 Update to cust 0.3 2022-03-11 17:17:40 +01:00
Sébastien Crozet a46f172fe4
Merge pull request #1089 from YuhanLiin/fix-svd
Fix SVD instability bug
2022-03-10 09:33:45 +01:00
YuhanLiin a27d121a7a Add regression test for #1072 2022-03-09 21:10:45 -05:00
YuhanLiin 1acd48f6f1 Address review comments 2022-03-09 21:04:43 -05:00
YuhanLiin 325618ba22 Fix SVD instability bug 2022-03-09 02:13:12 -05:00
metric-space 2743eef87e Add in explicit type of matrix element to module overview docs 2022-03-05 15:01:22 -05:00
metric-space adf50a6173 Fix formatting 2022-03-05 14:43:50 -05:00
metric-space 4413a35a1c Fix doc 2022-03-05 14:39:22 -05:00
metric-space 3413ab7da8 Correct typos, move doc portion to comment and fix borrow to clone 2022-03-05 13:52:42 -05:00
Anton Arsenij 757b99e843
CSC: Create constructor for unsorted but otherwise valid data (#1015)
* CSC: Create constructor for unsorted but otherwise valid data

* Test creating csc matrix from unsorted but valid data

* Add function for validation and sorting

* Move validation function to cs.rs

* Restore pattern unit test

* Add unit test for 'major offset out of bounds' case

* Avoid permutation allocations on 'happy path'

* Reuse allocated permutation

* Fix comments for test-data examples

* Remove unnecessary iter variable

* Set up buffers for sorting up front

* Use common apply_permutation function

* Use common compute_sort_permutation function

* Move unsafe down to unchecked call

* Add panic cases to documentation

* Remove unnecessary Zero bound

* Move buffer set up away from loop

* Lift T::Zero from cs.rs

* Improve checking if values are provided

* Simplify copying from slices & add test for wrong values length

* Check duplicates after sorting

* Fix formatting

* Check values length at the beginning

* Check length of values if values != None
2022-03-03 10:14:16 +01:00
metric-space c8a920ff2c Minimal post-processing and fix to documentation 2022-02-27 17:17:31 -05:00
Saurabh 46a757fc42 Added missing example file 2022-02-26 18:24:24 -07:00
Hantao Hui 0cae584262 use writeln! macro; replace unsafe with expect 2022-02-25 18:10:34 +01:00
Saurabh 0d2437b5c8 Merge branch 'dev' of https://github.com/dimforge/nalgebra into dev 2022-02-23 14:58:05 -07:00
Saurabh 1323b37607 prealloc everything, remove hashset, make it 4x faster 2022-02-18 11:22:43 -07:00
Saurabh 776fef26c3 add spmm example and change the kernel 2022-02-15 17:38:20 -07:00
metric-space 5e10ca46cb Add another case for when eigenvalues should be mapped to zero. Make method private 2022-02-15 01:45:33 -05:00
Sébastien Crozet f637013aa0
Merge pull request #1077 from wucke13/dev
fix #1073: typo in name of macros feature
2022-02-14 14:20:00 +01:00
Wanja Zaeske 104cb944b9 fix #1073: typo in name of macros feature 2022-02-14 13:55:16 +01:00
Hantao Hui 9e0dfd14de use std::io::Write trait when export to matrix market 2022-02-13 21:16:16 +01:00
metric-space e52f11700f Change name of copied macro base 2022-02-12 02:59:04 -05:00
metric-space 7510d48673 Doc string corrections 2022-02-12 02:52:18 -05:00
metric-space 91b7e05072 Change name of test generator 2022-02-12 02:42:13 -05:00
metric-space b7fe6b9dc1 Name change 2022-02-12 02:37:26 -05:00
metric-space fb0cb513e7 Remove condition number, tests pass without. Add proper test generator for dynamic f64 type square matrices 2022-02-12 02:27:29 -05:00
metric-space 497a4d8bd9 Correction in eigenvector matrices build up algorithm 2022-02-12 02:26:46 -05:00
metric-space a4de6a83cc Corrected deserialization term in serialization impls 2022-02-09 08:48:38 -05:00
Sébastien Crozet 39bb572557
Merge pull request #1074 from saethlin/remove-abomonation
Remove abomonation support
2022-02-07 09:31:40 +01:00
Ben Kimock 18730dd986 2022-02-06 10:03:22 -05:00
metric-space d5069f318e Removed extra memory allocation for buffer (now redundant) 2022-02-05 23:44:05 -05:00
Ben Kimock 698e130c3b Remove abomonation support
Abomonation has numerous soundness problems which have been
well-documented in its issue tracker for over 2 years. Some of them
could be fixed, but some are fundamental to its design. If a user wants
super-fast ser/de, they should use rkyv.
2022-02-05 17:15:08 -05:00
metric-space 4038e6627a Correction to keep naming of left and right eigenvector matrices consistent 2022-02-04 00:13:01 -05:00
metric-space 4362f0004c Added comment on logic 2022-02-04 00:09:29 -05:00
metric-space 55fdd84e1d Formatting 2022-02-03 06:45:29 -05:00
metric-space d88337efa9 Formatting 2022-02-03 06:43:41 -05:00
metric-space 162bb3218d New code and modified tests for qz 2022-02-03 06:36:41 -05:00
metric-space ae35d1cf97 New code and modified tests for generalized_eigenvalues 2022-02-03 06:36:10 -05:00
Hantao Hui 8904c01c7b export to file directly; add a new trait for export 2022-02-03 11:49:15 +01:00
metric-space 748848fea7 Cleanup of QZ module and added GE's calculation of eigenvalues as a test for QZ's calculation of eigenvalues 2022-01-24 23:58:21 -05:00
metric-space 7d8fb3d384 New wrapper for generalized eigenvalues and associated eigenvectors via LAPACK routines sggev/dggev 2022-01-24 23:56:44 -05:00
Hantao Hui d511e372de add support for matrix market export 2022-01-24 23:17:30 +01:00