Commit Graph

2515 Commits

Author SHA1 Message Date
Yuri6037 b8800ccd15
Update src/geometry/scale_conversion.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 21:52:35 +02:00
Yuri Edward 9d2639b742 Removed clippy suspicious_arithmetic_impl allow 2021-10-24 21:51:36 +02:00
Yuri Edward 866cabaa28 Merge remote-tracking branch 'origin/scale' into scale 2021-10-24 20:55:35 +02:00
Yuri Edward 6d3978b212 Added Scale *= scalar + reordered ops 2021-10-24 20:55:10 +02:00
Yuri Edward 0aba533556 Added Scale * Vector 2021-10-24 20:45:40 +02:00
Yuri6037 8efa9f76b7
Update src/geometry/scale_coordinates.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:41:27 +02:00
Yuri6037 510ffcbb18
Update src/geometry/scale_coordinates.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:41:21 +02:00
Yuri Edward c11e1ffb4d Fixed missing curly bracket 2021-10-24 20:40:02 +02:00
Yuri6037 ded853757c
Update src/geometry/scale.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:31:35 +02:00
Yuri6037 f7eec7317c
Update src/geometry/scale_conversion.rs
Removed return.

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:27:54 +02:00
Yuri6037 5b44502632
Update src/geometry/scale.rs
Simplified code.

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:27:38 +02:00
Yuri6037 26e36c15ba
Update src/geometry/scale.rs
Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:25:48 +02:00
Yuri6037 6123c86f9e
Update src/geometry/scale.rs
Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:24:16 +02:00
Yuri6037 91b8424a86
Update src/geometry/scale.rs
Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:21:07 +02:00
Yuri6037 de41c42af7
Update src/geometry/scale.rs
Simplified code

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:20:13 +02:00
Sébastien Crozet 496969bf62
Merge pull request #1000 from aarsenij/csr_csc_constructor_for_unsorte_valid_data
CSR: Provide constructor for unsorted but otherwise valid data
2021-10-22 10:36:11 +02:00
Yuri Edward b91ead7971 Fixed Subset for Matrix 2021-10-21 15:56:07 +02:00
Yuri Edward 4466fb2514 Added point * vector 2021-10-21 15:47:00 +02:00
Yuri Edward 99704a0ea1 Updated all examples related to inversion API 2021-10-21 15:22:18 +02:00
Yuri Edward 82b8ac84a0 Fixed code formatting 2021-10-21 15:10:26 +02:00
Yuri Edward a64417870b Changed inverse API to pseudo_inverse, try_inverse, try_inverse_mut, try_inverse_transform_point, inverse_unchecked. 2021-10-21 15:06:25 +02:00
Anton 89416baace Bring apply permutation function back to serial.rs 2021-10-20 20:28:38 +02:00
Anton 752d1f300d Permute values without unnecessary allocation 2021-10-20 01:50:42 +02:00
Yuri Edward 1341801c56 Added scale * scalar + Cleanup scale_ops 2021-10-19 16:33:12 +02:00
Yuri Edward 865ac001d3 Re-armed scale_simba 2021-10-19 16:20:25 +02:00
Yuri Edward 94ef916f49 Fixed cargo fmt 2021-10-19 16:18:25 +02:00
Yuri Edward 0e2865085e Updated doc tests 2021-10-19 16:09:06 +02:00
Yuri Edward d82b39ca9a Added to_homogeneous 2021-10-19 16:01:02 +02:00
Yuri Edward f1f947b924 Added to_homogeneous 2021-10-19 15:55:06 +02:00
Yuri Edward c249cc76b0 Added inverse, inverse_mut inverse_transform_point and transform_point 2021-10-19 15:02:50 +02:00
Yuri Edward cf811abb92 Added identity() 2021-10-19 14:47:46 +02:00
Yuri Edward bfb4aceede Updated operator overloads + fixed scale_construction 2021-10-19 14:31:20 +02:00
Yuri Edward 9c506b18e1 Renamed all instances of Translation to Scale 2021-10-19 14:21:26 +02:00
Yuri Edward 1252fb00a0 Added scale.rs 2021-10-19 14:05:51 +02:00
Yuri Edward 8c6ad490bc Initial commit copy all translation_x files into scale_x files 2021-10-19 14:02:07 +02:00
Anton f90bb8d64a Fix wrong csr-constructor call 2021-10-18 10:59:51 +02:00
Anton 86eeb192db Add module for unit test data examples 2021-10-17 22:29:59 +02:00
Anton 4b41be75b0 Add tests for some csr matrix related failure cases 2021-10-14 23:18:34 +02:00
Sébastien Crozet 8181aa687c
Merge pull request #1008 from dimforge/default_geometry
Implement Default for most geometry types
2021-10-14 11:57:41 +02:00
Sébastien Crozet ec700ab7cf Fix conflicting Default impl for unit-quaternions. 2021-10-14 11:48:12 +02:00
Sébastien Crozet 7275b5146e Implement Default for most geometry types 2021-10-14 11:39:22 +02:00
Sébastien Crozet 2f0ecf40d7
Merge pull request #1003 from dimforge/product
Add methods to compute the products of a single matrix components/row/columns
2021-10-14 11:23:27 +02:00
Anton 4a97989738 Improve checking requirements for sorting column indices 2021-10-11 23:01:12 +02:00
Anton 469765a4e5 Apply permutation 2021-10-08 00:36:40 +02:00
Max Verevkin bf48e093a9 fix linear indexing of matrix slices 2021-10-06 18:02:02 +03:00
Sébastien Crozet 97a79a994b Add methods to compute the products of a single matrix components/rows/columns 2021-10-06 10:48:46 +02:00
Anton a2a55cddca Check first and last offsets before sorting column indices 2021-10-05 00:07:04 +02:00
Sébastien Crozet 2e9c8aef20
Merge pull request #1002 from MaxVerevkin/unsafe-dim
make Dim trait unsafe
2021-10-04 09:32:13 +02:00
Max Verevkin 65d3b42ff9 make Dim trait unsafe 2021-10-03 20:26:34 +03:00
Anton 9e85c9e2b6 CSR/CSC: Provide constructor for unsorted but otherwise valid data 2021-10-03 14:59:28 +02:00