Commit Graph

128 Commits

Author SHA1 Message Date
Sébastien Crozet
c23807ac5d
feat: use GAT to remove the scalar type T from the Allocator trait (#1397) 2024-06-12 11:16:06 +02:00
Jennifer Chukwu
343eb214ef format 2024-05-05 09:39:20 +00:00
Jennifer Chukwu
914a7cf1fa add assert 2024-05-02 14:36:28 +00:00
Jennifer Chukwu
e3a08c9b60 test with a fixed input 2024-05-02 10:16:45 +00:00
Jennifer Chukwu
825d078294 add tests 2024-04-30 16:25:35 +00:00
Yotam Ofek
1195eadd1a Allow creating matrix iter with an owned view 2023-11-12 08:19:29 +00:00
Sébastien Crozet
2521fd9851 Add a couple of additional catastrophic cancellation variance checks 2023-04-30 14:53:16 +02:00
vasil
75405b1e24 fix bug, add test in tests folder 2023-04-25 01:25:36 +03:00
Sébastien Crozet
bcfc20caba Fix duplicate import 2023-01-14 16:26:26 +01:00
Sébastien Crozet
711ac67da9 Deplecate Dynamic and Dynamic::new 2023-01-14 16:22:40 +01:00
Sébastien Crozet
3508280929 Rename Slice to View in reshape tests 2023-01-14 16:22:40 +01:00
Andreas Longva
afabf4bad2 ReshapableStorage for slices + tests for owned reshape
In the process of implementing ReshapbleStorage for SliceStorage(Mut),
I discovered that there appears to be no tests for the existing
reshape_generic functionality on owned matrices.
2023-01-14 16:22:40 +01:00
Sébastien Crozet
3a8c1bf81e Use rayon as the feature name instead of par-iter 2023-01-14 15:59:11 +01:00
geo-ant
50e25c57f7 fmt 2023-01-14 12:08:47 +01:00
geo-ant
7b9b123301 add test, find bug, add another test 2023-01-14 12:08:47 +01:00
geo-ant
8d1f684e45 change feature name to par-iter and add doc example to par_column_iter_mut 2023-01-14 12:08:47 +01:00
geo-ant
e9a5705e1a address review 2023-01-14 12:08:40 +01:00
geo-ant
85e7551c81 feature gate functionality 2023-01-14 12:08:40 +01:00
geo-ant
a4e28a136e apply fmt 2023-01-14 12:08:10 +01:00
geo-ant
7ac536be07 cleanups and add tests 2023-01-14 12:08:10 +01:00
geo-ant
f850ed535e add tests and start cleanup 2023-01-14 12:07:56 +01:00
Sébastien Crozet
e959f2eb9c Fix CheckBytes derives + drop Complex rkyv support for now 2023-01-13 09:58:41 +01:00
Sébastien Crozet
cce66c3abf Merge branch 'dev' into dev-zyanshep 2023-01-13 09:19:49 +01:00
Andreas Longva
acfd37c728 Rename tests/core/matrix_slice.rs to tests/core/matrix_view.rs 2022-11-14 16:59:54 +01:00
Andreas Longva
55c3a9c764 Formatting 2022-11-14 16:43:47 +01:00
Andreas Longva
6c8947ccc0 Replace slice->view in tests and benches 2022-11-14 15:16:23 +01:00
Peng Guanwen
f485806782 rustfmt 2022-10-13 12:22:45 +00:00
Peng Guanwen
bc566d91bf Add test for rkyv 2022-10-13 12:22:45 +00:00
zyansheep
525bc63de2 use patch for num-complex & refactor 2022-08-15 18:47:00 -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
Ben Kimock
698e130c3b Remove abomonation support
Abomonation has numerous soundness problems which have been
well-documented in its issue tracker for over 2 years. Some of them
could be fixed, but some are fundamental to its design. If a user wants
super-fast ser/de, they should use rkyv.
2022-02-05 17:15:08 -05:00
Benjamin Saunders
0541f13b26 Concise Debug impls
Replace the verbose derived (or nearly equivalent) Debug impls for
several newtypes with explicit impls that forward to the inner type,
making readable diagnostics logging much easier.
2021-09-12 10:56:25 -07:00
Sébastien Crozet
148b164aaa Fix tests 2021-08-04 17:56:57 +02:00
Sébastien Crozet
8c6ebf2757 Implement the single-allocator-trait approach. 2021-08-02 18:41:46 +02:00
nathan.eckert
dd1530adc3 Cargo fmt 2021-07-08 14:20:35 +02:00
nathan.eckert
639382ea49 Add failing test higlighting the issue 2021-07-08 11:23:41 +02:00
Crozet Sébastien
8810b85a2f Add a point! macro for construction points
This macro is similar to the `vector!` macro, except that it builds a point instead of a vector.
2021-05-24 17:53:59 +02:00
Sébastien Crozet
23ac85e896
Merge pull request #886 from Andlon/matrix-macro
Matrix macro
2021-05-09 16:52:04 +02:00
Sébastien Crozet
a803271fcc
Merge pull request #889 from dimforge/dvector_deserialize
Fix potential unsoundness after deserializing a DVector with a bad number or elements.
2021-05-09 16:50:38 +02:00
Crozet Sébastien
b398a5e189 Re-add conversion between arrays and row vectors. 2021-05-06 18:22:04 +02:00
Crozet Sébastien
5bff5368bf Manually implement Serialize and Deserialize for VecStorage 2021-05-06 18:16:42 +02:00
Andreas Longva
8552fc8385 Cargo fmt 2021-05-03 13:52:34 +02:00
Andreas Longva
041b8c4b2c Add macro sanity tests to macros 2021-05-03 13:52:34 +02:00
Crozet Sébastien
24d546d3b6 Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
Crozet Sébastien
23a7d7475b First compiling version after migrating the geometry module to const-generics. 2021-04-11 13:53:45 +02:00
Crozet Sébastien
d17088398a Replace generic-array with a regular array based on min-const-generics. 2021-04-11 13:53:45 +02:00
Vinzent Steinberg
c8fe49b1e9 Add some comments about random variates 2021-04-10 03:36:21 -03:00