Commit Graph

168 Commits

Author SHA1 Message Date
Sébastien Crozet
c63503de04
chore: remove explicit bytecheck dependency 2023-07-09 11:36:44 +02:00
Sébastien Crozet
e9d2533955
Merge pull request #1231 from JulianKnodt/dev
Add `.item()` to `Matrix1`
2023-04-30 14:54:45 +02:00
julianknodt
d9af8650bb Add .*_scalar() to Matrix1
Allows for converting a `Matrix1` to a scalar without having to index.
2023-04-23 12:32:51 -07:00
hqurve
705051f639 fix: remove Scalar trait bound for Matrix PartialEq and Eq 2023-04-08 10:26:54 -04:00
Sébastien Crozet
711ac67da9 Deplecate Dynamic and Dynamic::new 2023-01-14 16:22:40 +01:00
geo-ant
ae5bca75f7 advertize the feature on the matrix front doc page 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
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
34f4537376 Use view* instead of slice* methods in src/ 2022-11-14 14:14:42 +01:00
Andreas Longva
0319d236af Deprecate+rename methods for slicing 2022-11-14 14:02:36 +01:00
_
c9fa7a35e7 Added try_cast() to Matrix 2022-10-27 19:56:38 +00:00
Peng Guanwen
2cbb27c6f8 Derive CheckBytes trait on Archive struct 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
a725faaf6a fix matrix impl 2022-07-13 14:32:46 -04:00
zyansheep
7cc885e861 fix some rkyv impls 2022-07-11 22:36:52 -04: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
Sébastien Crozet
e913beca88 Switch to derive macros for rkyv and bytecheck 2022-04-30 10:47:30 +02:00
zyansheep
24b97932e1 add bytecheck impls 2022-04-30 10:36:39 +02:00
zyansheep
1b6f2b83f7 add bytecheck for matrix 2022-04-30 10:36:39 +02:00
zyansheep
90f2603de4 upgrade rkyv to 0.7 2022-04-30 10:36:39 +02: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
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
Sébastien Crozet
d7117e228a Use cust_core instead of cust 2022-03-16 18:07:29 +01: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
Sébastien Crozet
b62b65d1b6
Merge pull request #1048 from haibane-tenshi/relax-matrix-select-rows-cols
Relax T: Zero bound on Matrix::select_rows() and Matrix::select_columns()
2021-12-30 21:56:55 +01:00
Sébastien Crozet
a6007de409 Add "Triangular matrix extraction" bullet to Matrix documentation 2021-12-30 21:55:29 +01:00
Rokonio
05320147b1
Fix a typo in a comment 2021-12-29 18:46:01 +01:00
Sébastien Crozet
9d897a6b8a Add support for rust-cuda 2021-11-23 12:03:11 +01:00
Sébastien Crozet
7f236d88aa
Merge pull request #991 from MaxVerevkin/fix-ub
Fix UB in `Matrix::perp()`
2021-09-26 11:05:44 +02:00
Sébastien Crozet
5d9dbb62ef
Merge pull request #993 from MaxVerevkin/deny-unused-mut
deny unused_mut and unused_variables
2021-09-26 10:59:27 +02:00
Max Verevkin
f4a8b4cfa1 deny unused_mut and unused_variables 2021-09-25 22:05:31 +03:00
Max Verevkin
b91eecebcd Matrix::perp() fix UB 2021-09-25 21:52:09 +03: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
90e531337a
Merge pull request #969 from remilauzier/dev
Fix some clippy warnings
2021-08-30 10:11:51 +02:00
Rémi Lauzier
ea9a9e8b7f
Fix some clippy warnings 2021-08-28 12:05:21 -04:00
raimundo saona
2233a38048 Implement conversion methods for RowDVector 2021-08-26 11:07:00 +02:00
Sébastien Crozet
dd6c40016e Remove the Copy requirement from SimdRealField. 2021-08-04 17:34:25 +02:00
Sébastien Crozet
65b299557c More inlining. 2021-08-04 11:19:57 +02:00
Sébastien Crozet
eedb860565 Fix missing docs. 2021-08-03 17:27:15 +02:00
Sébastien Crozet
d609a2f174 Address unsoundness in the resizing API. 2021-08-03 17:02:42 +02:00
Sébastien Crozet
f67a81e50a Fix build with --all-features 2021-08-03 10:07:05 +02:00
Sébastien Crozet
8c6ebf2757 Implement the single-allocator-trait approach. 2021-08-02 18:41:46 +02:00
Sébastien Crozet
d34fed45bc Merge branch 'dev' into ub3 2021-08-02 18:40:33 +02:00
Violeta Hernández
2243a11e89 Added some derives 2021-07-29 12:33:45 -05:00
Rémi Lauzier
c35f792b4f
Fix some warnings 2021-07-27 19:24:55 -04:00
Rémi Lauzier
ed6b34a0d6
Fix rust_2018_idioms warnings 2021-07-25 13:18:21 -04:00
Violeta Hernández
22b657f566 First draft of Owned overhaul 2021-07-19 18:00:40 -05:00