Commit Graph

2619 Commits

Author SHA1 Message Date
Fabian Löschner
a8fa7f71c0 Unify separate (de)serialization helper structs by using Cow<'a, [T]> 2022-01-11 10:35:07 +01:00
Fabian Loeschner
3be81be2e3 Updated more error messages 2022-01-11 10:35:07 +01:00
Fabian Loeschner
7e67d920a7 Use custom serde errors, make all sparse errs lowercase w/o punctuation 2022-01-11 10:35:07 +01:00
Fabian Loeschner
e9b7718292 Fix panic in SparsityPattern::try_from_* if major index is out of bounds 2022-01-11 10:35:07 +01:00
Fabian Loeschner
e2c33b48ac Simplify Deserialize bound 2022-01-11 10:35:07 +01:00
Fabian Loeschner
bfaf29393c Implement Serialize, Deserialize for SparsityPattern 2022-01-11 10:35:07 +01:00
Fabian Loeschner
2a3e657b56 Rename nrows/ncols args for try_from_*_data functions for consistency 2022-01-11 10:35:07 +01:00
Fabian Loeschner
40d8a904a3 Implement Serialize, Deserialize for Csc, Coo; move helper out of impls 2022-01-11 10:35:07 +01:00
Fabian Loeschner
18b694dad2 Move serialization helper structs into trait impls 2022-01-11 10:35:07 +01:00
Fabian Löschner
f9aca24b15 Implement Serialize and Deserialize for CsrMatrix 2022-01-11 10:35:07 +01:00
Sébastien Crozet
6cc633474d Update changelog. 2022-01-09 14:40:39 +01:00
Sébastien Crozet
6b1e14c8a2 Release v0.30.1 2022-01-09 14:37:25 +01:00
Sébastien Crozet
2026cb3bd3
Merge pull request #1062 from dimforge/glam-020
Add support for conversion with glam 0.19 and 0.20
2022-01-09 14:35:19 +01:00
Sébastien Crozet
87a6f4965b Add support for conversion with glam 0.19 and 0.20 2022-01-09 13:43:45 +01:00
Sébastien Crozet
e8b9c40123 Release v0.30.0 2022-01-02 15:30:15 +01:00
Sébastien Crozet
c0f8530d5e
Merge pull request #1055 from dimforge/fix-pow
Fix Matrix::pow and make it work with integer matrices
2021-12-31 09:57:56 +01:00
Sébastien Crozet
99ac8c4032
Merge pull request #1050 from metric-space/polar-decomposition-take-2
Take-2 of polar-decomposition
2021-12-31 09:57:08 +01:00
metric-space
498d7e3d4c Semi-unitary test checks for if rows or cols are orthonomal 2021-12-30 21:18:58 -05:00
metric-space
ae6fda7dc7 Change svd to svd_unordered for the method output to be equal
Comment out unitary check for now
2021-12-30 21:12:37 -05:00
Sébastien Crozet
d806669cc7 Fix Matrix::pow and make it work only with positive exponents 2021-12-30 23:03:43 +01:00
Sébastien Crozet
fdaf8c0fbe Add tests for Matrix::pow 2021-12-30 23:03:22 +01:00
Sébastien Crozet
67a82c2c88 Test: minor style fix 2021-12-30 22:28:55 +01:00
Sébastien Crozet
8e0ca439c2 Use proptest for testing the polar decomposition 2021-12-30 22:15:22 +01:00
Sébastien Crozet
cc10b67dd1 Add Matrix::try_polar that returns Option and make Matrix::polar not return Option 2021-12-30 22:15:04 +01:00
Sébastien Crozet
b62b65d1b6
Merge pull request #1048 from haibane-tenshi/relax-matrix-select-rows-cols
Relax T: Zero bound on Matrix::select_rows() and Matrix::select_columns()
2021-12-30 21:56:55 +01:00
Sébastien Crozet
a6007de409 Add "Triangular matrix extraction" bullet to Matrix documentation 2021-12-30 21:55:29 +01:00
Sébastien Crozet
2844c55de2
Merge pull request #1053 from rokonio/patch-1
Fix a typo in a comment
2021-12-30 21:46:47 +01:00
Sébastien Crozet
81f3c6e118
Merge pull request #1052 from sed-i/patch-1
minor doc fix (QR -> LU)
2021-12-30 21:46:28 +01:00
Rokonio
05320147b1
Fix a typo in a comment 2021-12-29 18:46:01 +01:00
metric-space
43c1f8fb9d Increased strength of tests for polar decomposition 2021-12-27 02:12:54 -05:00
metric-space
dbaefed8d1 Fix doc typos 2021-12-26 21:05:42 -05:00
metric-space
ac94fbe831 Add polar decomposition method to main matrix decomposition interface
Add one more test for decomposition of polar decomposition of rectangular matrix
2021-12-26 21:01:05 -05:00
Leon
20a86d6613
doc fix: QR -> LU 2021-12-22 19:10:55 +00:00
metric-space
6ac6e7f75e First compiling commit for take-2 of polar-decomposition:
Code inspired by this thread: https://github.com/dimforge/nalgebra/pull/656
Main person behind this is LucasCampos
2021-12-22 00:12:27 -05:00
Sébastien Crozet
1576a1517a
Merge pull request #1017 from losanc/matrixmarket-io
added reading matrix market data to sparse coomatrix
2021-12-21 01:51:08 -08:00
Hantao Hui
96b65c430f using no_run in doc code example 2021-12-17 14:48:14 +01:00
haibane_tenshi
24bb7bef76 fix(Matrix): relax T: Zero bound on Matrix::select_rows() and Matrix::select_columns() 2021-12-16 18:50:15 +03:00
Hantao Hui
656180f40e fix for empty dense matrix 2021-12-13 09:28:28 +01:00
Hantao Hui
92b324c007 code fmt; fix failing unit test and doc test 2021-12-12 12:10:20 +01:00
Sébastien Crozet
507ead2f10
Merge pull request #1043 from dimforge/svd3-fix
Fix the special-case for 3x3 Real SVD
2021-12-09 05:14:43 -08:00
Sébastien Crozet
88dd5442f3 Add an utility function to check if a slice is sorted in descending order. 2021-12-09 13:32:30 +01:00
Sébastien Crozet
412104fa0a Add comment about the origin of the failing 3x3 SVD matrix 2021-12-09 13:31:39 +01:00
Sébastien Crozet
229c137756 CI: update the nightly version used for the cuda build 2021-12-09 12:03:00 +01:00
Sébastien Crozet
e0a1b1bc34 Fix the special-case for 3x3 Real SVD 2021-12-09 11:52:37 +01:00
Sébastien Crozet
a9890e2a2c
Merge pull request #1040 from dimforge/cust-0.2
Update to cust 0.2
2021-12-03 14:12:15 +01:00
Sébastien Crozet
57fe4474be Update to cust 0.2 2021-12-03 10:08:11 +01:00
huihantao
6cd009988c
Merge pull request #1 from Andlon/matrixmarket-io-fixes
Matrixmarket IO changes
2021-12-01 15:00:44 +01:00
Sébastien Crozet
46feae72b9
Merge pull request #1036 from ArthurKValladares/dev
Fix typo in `nalgebra_glm::radians` doc comment
2021-12-01 13:55:30 +01:00
Sébastien Crozet
9389cf2adc
Merge pull request #1034 from dimforge/specific_svd
Add dedicated implementations of SVD for 2x2 and 3x3 real matrices.
2021-12-01 13:55:10 +01:00
Sébastien Crozet
56a4835b71
Merge pull request #1039 from Andlon/remove-proptest-patch
Remove redundant proptest patch in `nalgebra-sparse`
2021-12-01 13:54:36 +01:00