Commit Graph

2465 Commits

Author SHA1 Message Date
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
Saurabh f77e12ff2f add checks to make sure access won't be out of bounds 2022-04-22 12:15:59 -06:00
Andreas Borgen Longva 3981857f2b
Merge branch 'dev' into matrixmarket-io 2022-04-22 08:57:06 +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
Saurabh 19c7f19afa fix tests 2022-04-01 15:26:55 -06:00
Saurabh e3fd0e7393 remove the checked suffix to keep backward compatibility 2022-04-01 15:26:36 -06:00
Saurabh 2606409a02 delete example and remove compiler optimisation flags 2022-04-01 15:26:18 -06: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
Saurabh 04a97bb79e Merge branch 'dev' of https://github.com/dimforge/nalgebra into dev 2022-03-21 16:57:32 -06:00
Saurabh d1674d7577 Mul trait goes to faster kernel, pattern is correct 2022-03-21 16:56:51 -06:00
Saurabh f795f0f872 tests don't need to test the unchecked kernel separately 2022-03-21 16:56:22 -06:00
Saurabh c6f832d1d8 put back checked kernels and refactor upper layer 2022-03-21 16:55:46 -06:00
Joshua Smith 27a349d282 fix for `UnitComplex::slerp()` #1093 2022-03-21 16:08:53 -05:00
Hantao Hui 8e48d26767 add more tests; use bufwritter; fix typo; use temp_dir to test with files 2022-03-21 12:19:34 +01:00
Sébastien Crozet d7117e228a Use cust_core instead of cust 2022-03-16 18:07:29 +01:00
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