by ComplexSystems · 2y ago · 0 comments
- n-square Chebyshev distance forms concentric squares around your starting point
- n-square Manhattan Distance forms diamonds (meaning up/down/left/right = 1 space away but all diagonals are 2 spaces away)
We could also say the Knight can go everywhere a queen can't in the 3-square Manhattan distance and this might be more useful since it is all points along that boundary except the corners! (We got an in the wild "2 problems in computer science" with an "off by 1" error :)
[0] https://chris3606.github.io/GoRogue/articles/grid_components...
I think this is something math education can improve on since we are highly visual creatures. But it is always a tough balance since that same tool to help learning can decrease generalization if internalized improperly. But that can also be said about anything and is why I dislike the common test focused paradigm of education. As I think we've been doing it long enough that students have found studying for the test -- as opposed to study for learning -- is optimal. Goodhart always wins lol
A simple matrix multiplication only performs a linear transformation. To get a nonlinear affine transformation you need to augment the matrix and vector with extra dimensions containing carefully selected extra ones and zeros in addition to the translation. The end result is still a linear transformation of the supplied vector, but looks like an affine transformation if you ignore the final dimension.
But yes, I did not pick that up in linear algebra. It wasn't even mentioned there. All the fun stuff was taught in computer graphics.