Previously, the compose() method had a bug ( R1 * R2 was used instead of the correct R1 @ R2) that was not caught since the unit test used identity matrices, for which the operations are identical.
This PR also adds a repr method for helpful printing/debugging of the class representation.
Previously, the
compose()
method had a bug ( R1 * R2 was used instead of the correct R1 @ R2) that was not caught since the unit test used identity matrices, for which the operations are identical.This PR also adds a repr method for helpful printing/debugging of the class representation.