Re:Relearning Matrices as Linear Functions
by wolfgke on Tuesday April 23, 2019 @06:11PM
(#19733477)
OK, point taken. I considered "scaling" in a less general sense (scalar multiple of the unit matrix), while you want to allow arbitrary diagonal entries. My definition is to my knowledge the common one in linear algebra textbooks because in yours, the feasible maps depend on the chosen basis.
EDIT: To state my point more clearly: in textbooks, "scaling" is the linear map that is induced by the "scalar multiplication" in the definition of the vector space (that is why both terms start with "scal").
Re:Relearning Matrices as Linear Functions
by magicalhippo on Tuesday April 23, 2019 @08:21PM
(#19734385)
Reminds me of the old "hack" to use three shear transformations to rotate an image.
The idea being that a shear is relatively much faster on weaker CPUs, relative to doing a "proper" (reverse mapping) rotation.
A nice write-up can be found here: https://www.ocf.berkeley.edu/~fricke/projects/israel/paeth/r...
It would ordinarily be weird to represent shear transformations using rotations and scalings because shear matrices are elementary. But it checks out.