f3f7cec5f4
Use single u32/u64 as GUF_DICT_KV_META_T instead of two
2025-12-23 14:11:05 +01:00
517151b342
Change short-string approach to use 32 instead of 40 bytes
2025-12-23 14:11:05 +01:00
7e348e74bc
Change linalg mat_inverse.
...
Still not sure whether it's better to calculate
rref[pivot_row][col] * (rref[row][pivot_col] / pivot_val) (option 1)
vs.
rref[pivot_row][col] * rref[row][pivot_col] / pivot_val (option 2)
(i.e. a * b / c vs. "a * (b/c))
in terms of floating point error.
But I think option 1 (current commit) is better, since the scale factor
(rref[row][pivot_col] / pivot_val) is always <= 1 here (I think).
2025-12-23 14:11:05 +01:00
ea6a63aa3a
Fix linalg bugs
2025-12-23 14:11:05 +01:00
bf5a8d9aac
Add guf_nearly_zero/one
2025-12-23 14:11:05 +01:00
5f16855dab
Add matrix inversion
2025-12-23 14:11:05 +01:00
93e9603218
Fix guf_dict size types
2025-12-23 14:11:05 +01:00
ac9fa9f9ce
Add quaternion operations
2025-12-23 14:11:05 +01:00
57e405714d
Add linear algebra functions
2025-12-23 14:11:05 +01:00
f942cd8160
Add GUF_CSTR_TO_VIEW_CPP
2025-12-23 14:11:04 +01:00
2bf683906b
Add more dict tests
2025-12-23 14:11:04 +01:00
8197a5f45f
Add dict_erase tests
2025-12-23 14:11:04 +01:00
98774f842f
Fix guf_dict probing
2025-12-23 14:11:04 +01:00
6bed0d7616
Fix guf_dict growth bug
2025-12-23 14:11:04 +01:00
467f9be00a
Refactor
2025-12-23 14:11:04 +01:00
02cd5937a1
Make preserved_delims work (in guf_str_next_tok)
2025-12-23 14:11:04 +01:00
947041838e
Add tokeniser
2025-12-23 14:11:04 +01:00
d59d29f9f1
Add utf-8 handling
2025-12-23 14:11:04 +01:00
ead8bd8914
Work on utf-8
2025-12-23 14:11:04 +01:00
5e377a4c4d
Add more tests
2025-12-23 14:11:04 +01:00
d687bfe441
Improve tests
2025-12-23 14:11:04 +01:00
27d0cc65e4
Add C++ tests
2025-12-23 14:11:04 +01:00