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
Violeta Hernández
b74be8499f
Miscellaneous improvements
2021-07-17 21:43:50 -05:00
Violeta Hernández
10b5dc9bb6
Many miscellaneous improvements throughout
2021-07-17 20:19:20 -05:00
Violeta Hernández
7e1b2f81b3
Fixed some more blatant issues
2021-07-17 13:53:01 -05:00
Violeta Hernández
0687318c7a
Tests work!
2021-07-17 13:30:57 -05:00
Violeta Hernández
c01d591478
We have reached compilation!
2021-07-17 13:01:03 -05:00
Violeta Hernández
9a528e23b9
Almost!
2021-07-17 04:36:14 -05:00
Violeta Hernández
a6b8dd6d78
Checkpoint #10
2021-07-17 02:52:57 -05:00
Violeta Hernández
87fe2b30df
Checkpoint #9
2021-07-16 23:17:56 -05:00
Violeta Hernández
c3f869e017
Checkpoint #8
2021-07-16 01:53:28 -05:00
Violeta Hernández
df9b6f5f64
blas.rs works now!
2021-07-15 23:56:58 -05:00
Violeta Hernández
bbd045d216
blas.rs
should be sound now
2021-07-14 23:30:31 -05:00
Violeta Hernández
775917142b
More trait restructuring!
2021-07-14 17:21:22 -05:00
Violeta Hernández
8d10e69e33
Finally figured out some trait nitty-gritty
2021-07-14 13:24:27 -05:00
Violeta Hernández
1a78b00476
Checkpoint #1
2021-07-14 04:25:16 -05:00
nathan.eckert
92a51662bf
Remove Allocator<usize, > from display
2021-07-08 14:18:22 +02:00
Rémi Lauzier
78da5209e9
Fix some clippy warnings
2021-07-03 23:43:45 -04:00
Violeta Hernández
281b140365
Fix most clippy warnings
2021-06-18 09:45:37 +02:00
Malte Tammena
38e9a5da33
Annotate get_mut
/slice
-like functions with #[must_use]
2021-06-07 17:15:36 +02:00
Malte Tammena
9fb963017f
Simplify default #[must_use]
annotation
2021-06-07 16:34:03 +02:00
Malte Tammena
39aa52d019
Add must_use annotations in src/**/*.rs
2021-06-06 14:46:36 +02:00
David Koloski
9fff10b1f0
Move rkyv impls into separate modules
2021-05-09 12:24:07 -04:00
David Koloski
38dd3345e0
Switch to distributive implementations
2021-05-09 12:24:03 -04:00
David Koloski
b48b104d57
Add rkyv implementations for a few types
2021-05-09 12:23:16 -04:00
Andreas Longva
922393b04f
Enable from_{}_storage only when std/alloc available
2021-05-07 09:09:10 +02:00
Andreas Longva
3a3bc55f66
Move from_{}_storage impl blocks to matrix.rs
2021-05-07 09:00:29 +02:00
Crozet Sébastien
95b021dbfb
Don't enable serde by default.
...
Don't enable `serde/std` by default.
Add a `serde-serialize-no-std` feature to enable serde without its default features.
2021-04-12 12:14:16 +02:00
Crozet Sébastien
ee1c0be2dd
Add a note about the PhantomData in Matrix.
2021-04-12 11:27:21 +02:00
Crozet Sébastien
bedf48dbc2
Mark small matrix/vector "new" constractors as const-fn.
2021-04-12 09:18:17 +02:00
Crozet Sébastien
24d546d3b6
Rename generic parameter N -> T
2021-04-11 13:57:54 +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
Crozet Sébastien
f2c49aecb0
Add "cast" methods to cast the type of the components of most nalgebra types.
2021-03-05 17:08:46 +01:00
Sébastien Crozet
21cc428480
Merge pull request #803 from aweinstock314/no_unsound_assume_init
...
Propagate `mem::MaybeUninit` through the return types of `Allocator::…
2021-02-25 15:46:49 +01:00
Crozet Sébastien
dc15261ec1
Move the bytemuck impls to GenericArray and add a transitive impl for matrices.
2021-02-25 14:10:34 +01:00
Avi Weinstock
ee32f7d4cf
Run cargo fmt
.
2021-02-25 13:42:23 +01:00
Avi Weinstock
cd12422d6f
Change zero_or_uninitialized_generic
to unimplemented_or_uninitialized_generic
, and use it instead of manually dispatching on feature=no_unsound_assume_init
in functions without N: Zero
.
2021-02-25 13:42:23 +01:00
Avi Weinstock
36a3ac814f
Propagate mem::MaybeUninit
through the return types of Allocator::allocate_uninitialized
and Matrix::new_uninitialized_generic
.
...
Most call sites still invoke UB through `assume_init`. Said call sites instead invoke `unimplemented!()` if the `no_unsound_assume_init` feature is enabled, to make it easier to gradually fix them.
Progress towards #556 .
2021-02-25 13:42:23 +01:00
iMplode nZ
c667b1f9c8
Added bytemuck implementations for static storages.
2021-02-10 20:12:24 -08:00
Philippe Renon
bbc6a28f7d
clippy: fix len_without_is_empty warnings
2020-11-19 12:24:26 +01:00
Philippe Renon
f1211b0d99
clippy: remove unused imports
2020-11-16 14:46:04 +01:00
Crozet Sébastien
e852df6124
Add sections for most Matrix methods.
2020-11-15 16:57:49 +01:00
Crozet Sébastien
9a4cf0b69f
Reorganize matrix construction macros.
2020-11-13 18:34:47 +01:00
Crozet Sébastien
45f2fc4f92
Move all matrix decomposition methods under a single impl.
2020-11-13 17:26:47 +01:00