Commit Graph

8 Commits

Author SHA1 Message Date
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