Commit Graph

208 Commits

Author SHA1 Message Date
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
56b781fcb8 we build 2024-09-05 13:52:54 -07:00
e026f6efed wip 2024-09-05 13:36:38 -07:00
e475da5fb4 put that back 2024-09-05 13:16:02 -07:00
c3026c67e9 delete everything and start over 2024-09-05 12:49:20 -07:00
103697fbdd matrix: test det + adjugate 2024-09-04 13:55:11 -07:00
cf17460b77 special case 3d vectors and matrices 2024-09-04 13:47:50 -07:00
823a05c101 matrix: directly implement dot product to avoid a copy 2024-09-04 12:11:52 -07:00
e5f95b97ce matrix: macro mat mul 2024-09-04 12:11:52 -07:00
176eb762e3 name macros better 2024-09-03 12:51:19 -07:00
15bd78c0e1 matrix wide dot test 2024-09-03 10:59:47 -07:00
0f9d0c8c39 matrix wide dot 2024-09-03 10:59:18 -07:00
eefbdafc16 move more impls to common 2024-09-03 10:40:43 -07:00
b0ecfeb294 the matrix super macro 2024-09-03 10:10:46 -07:00
48a8271b99 transpose macro_repeated 2024-09-03 10:10:30 -07:00
1604888254 macro macro 2024-09-03 10:01:22 -07:00
4017f33447 delete comment 2024-09-03 09:40:49 -07:00
f0527714db move macro to mod 2024-09-03 09:40:46 -07:00
27d96f9b19 delete tuple impls 2024-09-03 09:30:13 -07:00
a5094fe873 common impls between matrix and vector 2024-09-02 18:54:50 -07:00
1bd45283a9 delete unused test 2024-09-02 18:36:05 -07:00
a6dc0c37ba MACRO MACRO MACRO 2024-09-02 18:35:37 -07:00
83434a89c7 wide_dot 2024-09-02 18:25:21 -07:00
b14c84bdad MACRO MACRO MACRO 2024-09-02 18:19:35 -07:00
e98744871b narrow paste scope 2024-09-02 18:19:35 -07:00
c26ce93fc8 paste 2024-09-02 18:19:35 -07:00