Skip to content

Commit

Permalink
Format using black
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Sep 9, 2024
1 parent 0f9a1e9 commit 6d637d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion medium/Matrix_Transformation/Matrix_Transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ def transform_matrix(
transformed_matrix = np.linalg.inv(T) @ A @ S
return transformed_matrix


A = [[1, 2], [3, 4]]
T = [[2, 0], [0, 2]]
S = [[1, 1], [0, 1]]
print(transform_matrix(A=A, T=T, S=S))
print(transform_matrix(A=A, T=T, S=S))

0 comments on commit 6d637d3

Please sign in to comment.