Commit Graph

183 Commits

Author SHA1 Message Date
7b78338c76 fix tests :/ 2024-09-10 14:50:35 -07:00
021d7f9d1f implement mul + div only for scalars (otherwise conflicting implementations) 2024-09-10 14:20:07 -07:00
338669b60f implement shift operators 2024-09-10 13:45:12 -07:00
085d9185a9 ratio operators 2024-09-10 13:22:49 -07:00
1fd7a6eafd fixed: inline functions Q_Q 2024-09-10 13:05:10 -07:00
91b96e4b5d move ratio to own crate (again) 2024-09-10 12:09:58 -07:00
fc65d0f1f4 rename fixed_wide_vectors to linear_ops 2024-09-10 11:57:18 -07:00
4eaf8794f6 fix compile without named fields 2024-09-10 11:36:48 -07:00
fa8614891d zeroes function uses type transformation, drops direct ratio dep from zeroes 2024-09-10 11:36:48 -07:00
c20a0a4a89 compare with From types 2024-09-10 11:36:48 -07:00
e66a245c78 delete fixed-wide 2024-09-10 11:36:48 -07:00
eb7eb30814 impl det + adjugate with trait bounds 2024-09-09 19:54:00 -07:00
57c3f2dd9e write m*v test 2024-09-09 19:54:00 -07:00
b772647137 impl Mat*Vec 2024-09-09 19:54:00 -07:00
dd2140d1d2 forgotten inlines 2024-09-09 19:54:00 -07:00
6cbd3446e5 impl matrix multiplication with Mul 2024-09-09 19:54:00 -07:00
b6d260bf2c update tests to use new ideas 2024-09-09 19:54:00 -07:00
53bb1522eb impl dot + cross + length_squared with trait bounds 2024-09-09 19:54:00 -07:00
206e219467 wide-mul crate feature 2024-09-09 19:54:00 -07:00
8ee6204a42 invent wide_div + test 2024-09-09 15:24:49 -07:00
803f1bea9e extract trait impls into named functions + fix spelling 2024-09-09 15:24:49 -07:00
62419e94e1 consistency 2024-09-09 14:14:48 -07:00
d3c4d530b6 refactor macros, move things around 2024-09-09 14:14:48 -07:00
898407a0e9 matrix and vector extend functions 2024-09-06 13:24:03 -07:00
66186c7354 doc 2024-09-06 13:03:55 -07:00
36c769346c use inline const constructor because it's a little bit prettier 2024-09-06 11:44:43 -07:00
5f2bec75f5 enable matrix mul test 2024-09-06 11:38:29 -07:00
7a9aaf9fe0 matrix mul 2024-09-06 11:38:22 -07:00
9ad90cea2e fix tests 2024-09-06 11:25:51 -07:00
f2fec0b3b9 implement a bunch of fixed wide stuff 2024-09-06 11:25:46 -07:00
dae72d73d5 convert to row-major 2024-09-06 10:52:17 -07:00
4a1eff40da matrix multiplication ascii art 2024-09-06 10:44:30 -07:00
d5bd82761a fix dot test 2024-09-06 10:36:34 -07:00
5cad8637cd tweak dot 2024-09-06 10:36:24 -07:00
607706ee2a nope 2024-09-05 17:56:09 -07:00
2312ee27b7 test vector and matrix (TODO: Debug trait) 2024-09-05 17:56:09 -07:00
4d2aa0b2c8 is this better? 2024-09-05 17:44:44 -07:00
34450d6a13 matrix multiplication 2024-09-05 17:37:38 -07:00
1a6ece1312 epic const generic array transpose
verified that this loop unrolls on compiler explorer
2024-09-05 17:36:45 -07:00
e95f675e91 test named fields 2024-09-05 16:56:59 -07:00
504ff37c47 write a test 2024-09-05 16:45:44 -07:00
41cdd03b1b wip fixed wide 2024-09-05 16:32:19 -07:00
e375173625 keep generic operators and only implement i64 convenience operator 2024-09-05 16:18:13 -07:00
488a6b6496 fix vector bool code 2024-09-05 16:08:53 -07:00
5cdd2c3ee1 must be less generic to avoid conflict with convenience operators 2024-09-05 16:05:47 -07:00
a0da6873c1 vector operators 2024-09-05 15:56:44 -07:00
345d5737a2 more generic Neg operator 2024-09-05 15:56:35 -07:00
f4d28dd3c3 use derive macros 2024-09-05 15:43:26 -07:00
c362081003 implement a bunch of stuff 2024-09-05 15:43:26 -07:00
990a923463 fixup tests 2024-09-05 13:53:03 -07:00