diff --git a/compute.py b/compute.py index ba6cb19..aa05e1d 100644 --- a/compute.py +++ b/compute.py @@ -8,8 +8,9 @@ This module provides utilities for basic matrix arithmetic: All functions validate inputs and raise ``ValueError`` where appropriate. Type hints use the built‑in ``list`` and ``int | float`` union. """ - from __future__ import annotations + +from tabulate import tabulate import math # Public type alias for a matrix of numeric values. @@ -162,3 +163,5 @@ if __name__ == "__main__": vec = [[1], [0]] print("Rotation matrix for 45°:", rot) print("Rotated vec:", matmul(rot, vec)) + + print(tabulate(rot_2D(1.0)))