Commit Graph

2497 Commits

Author SHA1 Message Date
Sébastien Crozet
2adb4f0b26 Merge branch 'dev' 2022-10-09 22:16:43 +02:00
Sébastien Crozet
983e6db859
Merge pull request #1161 from dimforge/v0.31.2
Release v0.31.2
2022-10-09 22:15:51 +02:00
Sébastien Crozet
a752a4bbf5 Release v0.31.2 2022-10-09 22:03:03 +02:00
Sébastien Crozet
202a548a37
Merge pull request #1156 from dimforge/fix-ci
Add a non-const version of Point::new when the cuda feature is enabled
2022-09-24 10:35:15 +02:00
Sébastien Crozet
1870080f94 Remove const for Point1::new when targetting cuda 2022-09-24 10:13:15 +02:00
Sébastien Crozet
1079f0c1c3 Add a non-const version of Point::new when the cuda feature is enabled 2022-09-24 09:50:58 +02:00
Andreas Borgen Longva
7adecdef6c
Merge pull request #1144 from Patiga/lib-doc-link-items
Link listed types in lib.rs to their docs
2022-09-12 09:08:20 +02:00
Patiga
3aca9af616 Link listed types in lib.rs to their docs
Helpful because lib.rs is the 'main page' for docs.rs
This allows for easy/direct access to the mentioned types
Currently you need to look up mentioned types via the search bar
2022-09-04 00:39:57 +02:00
Sébastien Crozet
5cf6afb254
Merge pull request #1141 from lsh/sparse-clear-triplet
[Sparse] Add `clear_triplets()`
2022-08-22 09:09:39 +02:00
lukas
498fbf51b1 remove unnecessary trait bounds 2022-08-20 00:09:12 -07:00
lukas
0eb1f5c125 'fix error's 2022-08-16 20:10:17 -07:00
Lukas Hermann
b9483ab545 remove bad return type 2022-08-16 22:06:43 +00:00
lukas
41e1cc0db2 extend test case 2022-08-16 00:20:13 -07:00
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
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
6eea643277
Merge pull request #1134 from dimforge/dev
Release v0.31.1
2022-07-31 10:01:46 +02: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
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