Commit Graph

17 Commits

Author SHA1 Message Date
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
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
8552fc8385 Cargo fmt 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
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