Commit Graph

2089 Commits

Author SHA1 Message Date
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
Andreas Longva da077497a2 Add trybuild tests to test error message reported when matrix dims mismatch 2021-05-03 13:52:34 +02:00
Andreas Longva 07d41e457b vector! and dvector! macros 2021-05-03 13:52:34 +02:00
Andreas Longva d56db1a079 Assert type in matrix/dmatrix tests 2021-05-03 13:52:34 +02:00
Andreas Longva 5c843022c2 Implement dmatrix![] macro 2021-05-03 13:52:34 +02:00
Andreas Longva d2c11ad797 Impl DMatrix/DVector::from_vec_storage
These methods enable safe & const construction of DMatrix/DVector from a
given VecStorage.
2021-05-03 13:52:34 +02:00
Andreas Longva 9142dc8f84 Implement SMatrix::from_array_storage and use it in matriX! impl
This allows us to avoid injecting unsafe code into every macro
invocation, which seems desirable.
2021-05-03 13:52:34 +02:00
Andreas Longva 7098a4f07e Test that matrix![] can be used with const 2021-05-03 13:52:34 +02:00
Andreas Longva ec2a5a3909 Construct ArrayStorage directly in matrix![] 2021-05-03 13:52:34 +02:00
Andreas Longva e60136fbb1 Update nalgebra-macros to nalgebra 0.26 and const generics 2021-05-03 13:52:34 +02:00
Andreas Longva 1dccdb1f20 Exhaustive tests for small dimensions 2021-05-03 13:52:34 +02:00
Andreas Longva ed833506a9 Fix warnings, refactor code 2021-05-03 13:52:34 +02:00
Andreas Longva ab95cf7020 Initial impl using syn and quote 2021-05-03 13:52:34 +02:00
Andreas Longva e97692255b Initial hacked together prototype without syn 2021-05-03 13:52:34 +02:00
Sébastien Crozet e8d00887e0
Merge pull request #884 from chammika-become/missing-doc-tests
add missing doc tests
2021-05-02 14:27:11 +02:00
Chammika Mannakkara c420afde9e CooMatrix::reserve added 2021-05-02 20:43:16 +09:00
Chammika Mannakkara 105e894c0a add missing doc tests 2021-05-02 13:50:03 +09:00
Vinzent Steinberg 4387a7f391 Use correct feature and remove unused import 2021-04-29 20:57:27 -03:00
Vinzent Steinberg 35b96344ba Fix criterion warning 2021-04-29 20:26:21 -03:00
Vinzent Steinberg 4bc62bcddb Fix benchmarks 2021-04-29 20:26:17 -03:00
Vinzent Steinberg 209b476301 Mark rand as required for benchmark 2021-04-29 20:25:25 -03:00
Vinzent Steinberg c5a44ec66f Update criterion 2021-04-29 20:25:25 -03:00
Crozet Sébastien 58bea21d74 Release v0.26.2 2021-04-27 14:26:09 +02:00