Commit Graph

2583 Commits

Author SHA1 Message Date
lukas bdfa643e3c clear_triplets 2022-08-16 00:15:03 -07:00
lukas bcc5527baa Switch return type to just T 2022-08-15 19:28:58 -07:00
lukas b90dc7c042 Add `clear_triplet()` 2022-08-15 19:14:38 -07:00
zyansheep 525bc63de2 use patch for num-complex & refactor 2022-08-15 18:47:00 -04:00
Sébastien Crozet d09d06858f
Merge pull request #1120 from Ralith/unit-vector-cast
Implement `cast` for `Unit<Vector<T, D, S>>`
2022-08-14 15:04:50 +02:00
Sébastien Crozet 0fcf2f61d2
Merge pull request #1112 from SolraBizna/point-construction-const-fn
Make "Point::new" a const fn
2022-08-14 15:03:09 +02:00
Sébastien Crozet daa2ea33b2
Merge pull request #1140 from patowen/improve-dim-performance-with-inline
Use #[inline] to improve opt-level 1 performance
2022-08-12 09:22:36 +02:00
Patrick Owen 84c44984b1 Use #[inline] to improve opt-level 1 performance 2022-08-12 01:33:11 -04:00
Sébastien Crozet 2aff922ac8
Merge pull request #1138 from ritobanrc/doc-fix
Update DefaultAllocator docs to say ArrayStorage instead of GenericArray
2022-08-09 09:35:04 +02:00
Ritoban Roy-Chowdhury d3b7acce4d update DefaultAllocator docs to say ArrayStorage instead of GenericArray 2022-08-08 17:48:10 -07:00
Sébastien Crozet 11ff2ed69b Release v0.31.1 2022-07-31 09:47:58 +02:00
Sébastien Crozet 74c4aa9c9f
Merge pull request #1133 from dimforge/from_row_iterator
Sound implementation of from row iterator
2022-07-31 09:31:49 +02:00
Sébastien Crozet 54ab62d971 Remove another unused extern crate. 2022-07-30 18:19:17 +02:00
Sébastien Crozet d5284a2a86 Remove unused extern crate. 2022-07-30 18:16:18 +02:00
Sébastien Crozet 89767ee9f3 Reduce code duplication for allocating a storage from a raw iterator. 2022-07-30 18:06:47 +02:00
Gianluca Oldani 59b01e955f Fixed formatting 2022-07-30 17:52:04 +02:00
Gianluca Oldani 8588ef8fb2 Sound implementation for from_row_iterator 2022-07-30 17:52:04 +02:00
Chammika Mannakkara 008511d96e from_row_iterator added 2022-07-30 17:52:04 +02:00
Sébastien Crozet d0d88f1e82
Merge pull request #1113 from trueb2/user/trueb2/fix-unitcomplex-assertion
Fix UnitComplex cast doctest failure on macOS
2022-07-30 17:33:13 +02:00
Sébastien Crozet 1e9e1ba46d
Merge pull request #1101 from timethy/dev
Fix from_matrix when argument is already a valid rotation matrix
2022-07-27 22:22:27 +02:00
Tim Taubner 0c2d9deac7 cargo fmt 2022-07-27 11:44:42 +02:00
Tim Taubner 7aadbcf21d From_rotation_matrix: Use the larger of eps.sqrt() or eps*eps as disturbance. Add tests for eps > 1.0 2022-07-27 11:31:43 +02:00
Sébastien Crozet 18a8a30671 cargo fmt 2022-07-27 09:49:16 +02:00
Sébastien Crozet 26e69863e1 Rotation from matrix: small code cleanups 2022-07-27 09:49:16 +02:00
Tim Taubner d515e4f1be Perturbations to check for convergence into maximum. 2022-07-27 09:49:16 +02:00
Tim Taubner ac203fe4fd Add test case for issue 628 2022-07-27 09:49:16 +02:00
Tim Taubner 257d95b3d3 Add test case for issue 1078 2022-07-27 09:49:16 +02:00
Tim Taubner f9aa2d76aa Start from random rotation in from_matrix to prevent issues when calling from_matrix on rotation matrices 2022-07-27 09:49:16 +02:00
Sébastien Crozet 7b0c9d64a0
Merge pull request #1130 from devil-ira/glam-0.21
Support conversion for glam `0.21`.
2022-07-24 17:30:31 +02:00
devil-ira 238750fb30 Use `From` trait to convert glam types to arrays. 2022-07-23 23:55:40 +02:00
devil-ira 1e31e6ba69 Add feature `convert-glam021`. 2022-07-23 17:39:59 +02:00
zyansheep f66b690fe8 num-complex conflicting with simba why 2022-07-14 08:07:30 -04:00
zyansheep 71379c0748 cargo fmt 2022-07-13 23:05:44 -04:00
zyansheep 9a98b0cf24 various implementations 2022-07-13 23:02:17 -04:00
zyansheep a725faaf6a fix matrix impl 2022-07-13 14:32:46 -04:00
zyansheep 67f04e39ac add rkyv tests 2022-07-13 09:22:55 -04:00
zyansheep 7cc885e861 fix some rkyv impls 2022-07-11 22:36:52 -04:00
Andreas Borgen Longva 446b52d08f
Merge pull request #1069 from losanc/matrixmarket-io
add support for matrix market export
2022-06-13 10:13:38 +02:00
Andreas Longva 80e77d2f9f Fix formatting 2022-06-13 09:55:16 +02:00
Andreas Borgen Longva 030f155dc3
Merge branch 'dev' into matrixmarket-io 2022-06-13 09:51:08 +02:00
Benjamin Saunders 8aa10b819c Implement `cast` for `Unit<Vector<T, D, S>>`
Currently, `cast` is resolved via `Unit`'s `Deref` impl, which leads
to it confusingly stripping the `Unit` from `UnitVector`s. Add an
inherent impl which takes precedence, similar to the existing
specialization for `UnitQuaternion`.
2022-06-11 11:13:31 -07:00
Andreas Borgen Longva dd801567f2
Merge pull request #1081 from smr97/dev
Make sparse-times-sparse faster
2022-05-30 15:14:42 +02:00
Jacob Trueb 0cdf3ce452 Fix UnitComplex cast doctest failure on macOS 2022-05-25 17:51:19 -05:00
Solra Bizna 4d968da1ad
Make "Point::new" a const fn 2022-05-25 16:42:18 -06:00
Saurabh 1c7f15e5ed remove extra yaml file 2022-05-09 14:19:11 -06:00
Andreas Longva 037226bb1f Use ? instead of unwrap() in examples 2022-05-09 10:02:26 +02:00
Andreas Longva 59421896ce Polish docs for save_* matrix market methods 2022-05-09 09:59:09 +02:00
Andreas Longva 9b32195558 Change write -> save in order to be consistent with load terminology 2022-05-09 09:51:55 +02:00
Andreas Longva ef9a3dd767 Update module-level docs 2022-05-09 09:23:42 +02:00
Hantao Hui 8424232dfb merge updates from dev branch 2022-05-07 13:46:52 +02:00