The Ray Tracer Challenge: Always Square Matrices?


I’ve been handling 2x2, 3x3, and 4x4 matrices just fine. In fact my code handles NxM matrices right now but I’ve noticed all of the examples and tests so far have only used square matrices. I can simplify my code a lot if I’ll only need to handle square matrices.

TL;DR Do I need to worry about handling non-square matrices to complete the exercises in the book?