mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
This makes working with them much easier, and the type system reflects what's in the multi-vector. Unfortunately, that does mean that large algebras will wind up having a LOT of types, but it allows for efficient storage of sparse multi-vectors: auto v = 4*(e1 + e032 + e123); results in: 0005 0213 1:0008<00000008>4:void 0:0000<00000000>?:invalid 0:0044<00000044>4:void assign (<void>), v 0006 0213 1:000c<0000000c>4:void 0:0000<00000000>?:invalid 0:0048<00000048>4:void assign (<void>), {v + 4} Where the two source vectors are: 44:1 0 .imm float:18e [4, 0, 0, 0] 48:1 0 .imm float:1aa [4, 0, 0, 4] They just happen to be adjacent, but don't need to be. |
||
---|---|---|
.. | ||
doc | ||
include | ||
source | ||
test | ||
AUTHORS | ||
Makemodule.am | ||
TODO |