Commit Graph

2347 Commits

Author SHA1 Message Date
Sébastien Crozet a195e3547b
Merge pull request #1095 from zyansheep/dev
improve rkyv support
2022-04-30 10:56:49 +02:00
Sébastien Crozet e913beca88 Switch to derive macros for rkyv and bytecheck 2022-04-30 10:47:30 +02:00
zyansheep ed41097d0c fix bytecheck feature in cargo.toml 2022-04-30 10:36:39 +02:00
zyansheep 24b97932e1 add bytecheck impls 2022-04-30 10:36:39 +02:00
zyansheep 1b6f2b83f7 add bytecheck for matrix 2022-04-30 10:36:39 +02:00
zyansheep 90f2603de4 upgrade rkyv to 0.7 2022-04-30 10:36:39 +02:00
Sébastien Crozet a850592f7b
Merge pull request #1067 from metric-space/qz-decomposition-lapack
QZ-decomposition
2022-04-30 10:02:28 +02:00
Sébastien Crozet b621177a74
Merge pull request #1103 from dimforge/additional-glam-conversion
glam: add conversion from Vec2/3/4 to UnitVector2/3/4 + remove ambigous conversions
2022-04-28 15:11:51 +02:00
Sébastien Crozet c9bf6aa95f Fix warnings 2022-04-28 14:58:15 +02:00
Sébastien Crozet adb3820305 glam: add conversion from Vec2/3/4 to UnitVector2/3/4 + remove ambigous conversions 2022-04-28 14:53:14 +02:00
Sébastien Crozet 96d4d98811
Merge pull request #1094 from jsmith628/complex-slerp-fix
fix for `UnitComplex::slerp()` #1093
2022-04-26 18:26:27 +02:00
Sébastien Crozet ee7473cba8 Readme: update sponsors 2022-04-18 10:45:38 +02:00
metric-space ff2d431ed0 Remove repeated docs 2022-04-16 02:37:02 -04:00
metric-space bc31012c08 Add newline 2022-04-16 02:23:51 -04:00
metric-space 80a844a3bf Update check for zero 2022-04-16 02:23:38 -04:00
Joshua Smith 96e2d1f69e fixed cargo fmt 2022-03-29 13:42:38 -05:00
Joshua Smith baa320d7f3 added tests for complex and quaternion slerp pathing 2022-03-29 13:38:10 -05:00
Joshua Smith b02e4ec2a9 fixed cargo fmt error 2022-03-26 17:32:12 -05:00
Sébastien Crozet 6a553f1ee2
Merge pull request #1098 from dimforge/explicit-const-dims
Simplify the type definitions of Const aliases, to help rust-analyzer
2022-03-24 10:00:36 +01:00
Sébastien Crozet 77cf2c935f
Merge pull request #1096 from sterlingjensen/cleanupdoc
Cleanup examples and doc links
2022-03-24 10:00:24 +01:00
sterlingjensen 44b700ecdf run `cargo fmt` 2022-03-23 22:08:20 -05:00
Sébastien Crozet aa37f28dda Simplify the type definitions of Const aliases, to help rust-analyzer 2022-03-23 22:55:16 +01:00
Sébastien Crozet f081cea504
Merge pull request #1090 from dimforge/cust-0.3
Update to cust 0.3
2022-03-23 22:54:21 +01:00
sterlingjensen 724117e5ad Cleanup examples and doc links
Close example code fences and normalize containing head line in touched files.
Remove stale reference to `slice_assume_init` (commit 8c6ebf27), fix long dead internal links in deprecation notices.
2022-03-22 12:03:18 -05:00
Joshua Smith 27a349d282 fix for `UnitComplex::slerp()` #1093 2022-03-21 16:08:53 -05:00
Sébastien Crozet d7117e228a Use cust_core instead of cust 2022-03-16 18:07:29 +01: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
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
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