but really i dont think you need any motivation beyond "A(0)=0 is a problem for translation" or a justification beyond "lift it to a subset of a higher dimensional space, then restrict yourself to the linear operators that give you closure, so it looks kinda like a subspace even if it isn't"
I want to get very "tangible"
i don't know what word you meant to use, but that is the wrong one
no, matrix form hurts memory locality because it is relatively wasteful with memory
you're using 12 elements (plus 4 implicit) to represent (usually) Sim(3), which is 7 dimensional. The extra 5 elements come from shears (3) and uneven scaling (2), which are rarely used.
however it is very SIMD friendly, and is FLOPs efficient for the most common case, for the reason i outlined before
(technically if there is no shear or uneven scaling you could have another 3 elements be implicit, or represented by a single bit if you want to support improper rotations, but that usually tips the space-time tradeoff in the other direction)
View all comments
Show parent comment
1
u/RelationshipLong9092 Mar 16 '26
you are looking for https://en.wikipedia.org/wiki/Representation_theory
but really i dont think you need any motivation beyond "A(0)=0 is a problem for translation" or a justification beyond "lift it to a subset of a higher dimensional space, then restrict yourself to the linear operators that give you closure, so it looks kinda like a subspace even if it isn't"
i don't know what word you meant to use, but that is the wrong one
https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation#Performance_comparisons
no, matrix form hurts memory locality because it is relatively wasteful with memory
you're using 12 elements (plus 4 implicit) to represent (usually) Sim(3), which is 7 dimensional. The extra 5 elements come from shears (3) and uneven scaling (2), which are rarely used.
however it is very SIMD friendly, and is FLOPs efficient for the most common case, for the reason i outlined before
(technically if there is no shear or uneven scaling you could have another 3 elements be implicit, or represented by a single bit if you want to support improper rotations, but that usually tips the space-time tradeoff in the other direction)