Sébastien Crozet
2287e5088a
Merge pull request #904 from CattleProdigy/coo-push-mat
...
Add push_matrix fcn to COO
2021-06-14 14:39:16 +02:00
Paul Jakob Schroeder
e6e7efba8a
COO: add push_matrix fn
...
- This function allows one to add entire dense matrices
to a sparse COO matrix.
- Added a small mention of this new function in the
example in lib.rs
2021-06-08 10:05:50 -04:00
Sébastien Crozet
543f964610
Merge pull request #851 from MalteT/dev
...
Annotate functions with #[must_use] where appropriate
2021-06-08 11:01:33 +02:00
Malte Tammena
9eb9ad603f
Add get_mut
annotations (second try)
2021-06-07 17:24:43 +02:00
Malte Tammena
38e9a5da33
Annotate get_mut
/slice
-like functions with #[must_use]
2021-06-07 17:15:36 +02:00
Malte Tammena
e1fe76235f
Normalize #[must_use]
hints
2021-06-07 16:44:59 +02:00
Malte Tammena
9fb963017f
Simplify default #[must_use]
annotation
2021-06-07 16:34:03 +02:00
Malte Tammena
42a2c74571
Finish initial must_use annotations
2021-06-06 15:28:37 +02:00
Malte Tammena
39aa52d019
Add must_use annotations in src/**/*.rs
2021-06-06 14:46:36 +02:00
Malte Tammena
d85c10a73c
Add some missing question marks
2021-06-06 11:34:29 +02:00
Malte Tammena
925fc1edd7
Annotate functions with #[must_use] where appropriate
2021-06-06 11:28:12 +02:00
Crozet Sébastien
d7288bfd28
Release v0.27.1
2021-06-04 11:08:54 +02:00
Sébastien Crozet
51312d1d54
Merge pull request #903 from dimforge/glam-conversion-bug
...
Fix bug in the glam conversion Vec2 -> Isometry2
2021-06-04 11:06:50 +02:00
Crozet Sébastien
7acd4ecdcc
Fix bug in the glam conversion Vec2 -> Isometry2
2021-06-04 10:52:28 +02:00
Crozet Sébastien
dfc8ad3d6a
Release v0.27.0
2021-06-02 15:15:17 +02:00
Sébastien Crozet
de705a8072
Merge pull request #900 from dimforge/glam-multiversion
...
Support multiple version of the optional glam conversion
2021-06-01 11:10:57 +02:00
Crozet Sébastien
47a4f52e8d
Replace unchecked glam conversion by TryFrom or checks
2021-06-01 10:48:24 +02:00
Crozet Sébastien
4af979c55b
Support multiple version of the optional glam conversion
2021-06-01 10:27:32 +02:00
Sébastien Crozet
ef3257bcb8
Merge pull request #899 from dimforge/point_macro
...
Add a point! macro for constructing points
2021-05-25 09:51:50 +02:00
Crozet Sébastien
0490a844fb
Fix typo
2021-05-24 18:10:26 +02:00
Crozet Sébastien
d6d2a3e968
Fix macros tests.
2021-05-24 18:00:30 +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
f9a128a6e7
Merge pull request #894 from dfarnham/dev
...
Fix docs on csc_data(), csc_data_mut()
2021-05-10 11:45:16 +02:00
Dave Farnham
79ef862fe9
Fix docs on csc_data(), csc_data_mut()
2021-05-09 14:58:26 -06:00
Sébastien Crozet
fb7c22f386
Merge pull request #891 from djkoloski/dev
...
Add partial `rkyv` support
2021-05-09 18:58:33 +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
Sébastien Crozet
511a51592f
Merge pull request #866 from vks/improve-bench
...
Improvements to benchmarks
2021-05-09 16:59:23 +02:00
Sébastien Crozet
d67aec80fd
Merge pull request #885 from chammika-become/coo-reserve
...
CooMatrix::reserve added
2021-05-09 16:58:43 +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
Sébastien Crozet
02614cbdb7
Merge pull request #890 from dimforge/row_vector_array_convert
...
Re-add conversion between arrays and row vectors.
2021-05-09 16:50:20 +02:00
Sébastien Crozet
d268c4d7fb
Merge pull request #892 from Andlon/update-matrixcompare
...
Update matrixcompare version to 0.3.0
2021-05-09 16:49:47 +02:00
Andreas Longva
b85335bd9c
Update matrixcompare version to 0.3.0
...
Fixes some warnings produced by earlier versions since Rust 1.51.
See https://github.com/Andlon/matrixcompare/pull/5 for more details.
Note that we only update dev-dependencies, so there is no API breakage.
2021-05-07 09:23:46 +02: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
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
39b275fc92
Formatting
2021-05-05 10:04:47 +02:00
Andreas Longva
6026a05433
Test that matrix macros work with arbitrary expressions
2021-05-05 10:03:18 +02:00
Andreas Longva
57541aa253
Add tests to ensure macros compile for all built-in types
2021-05-05 09:42:31 +02:00
Andreas Longva
f42ecf0ebb
Improve nalgebra-macros/Cargo.toml metadata
2021-05-05 08:51:16 +02:00
Chammika Mannakkara
5d638a32b8
correct all gramatical mistakes pointed by @Andlon
2021-05-04 12:29:25 +09:00
Andreas Longva
8552fc8385
Cargo fmt
2021-05-03 13:52:34 +02:00
Andreas Longva
08a77dd05e
Test nalgebra-macros on CI
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
Andreas Longva
0bde07f95c
Document that feature needs to be enabled, and require macros feature for tests
2021-05-03 13:52:34 +02:00
Andreas Longva
eeab4db69a
Add nalgebra/macros feature and re-export matrix macros from nalgebra
2021-05-03 13:52:34 +02:00
Andreas Longva
b96c75549d
Document macros
2021-05-03 13:52:34 +02:00