refactor; remove the term interface

This commit is contained in:
2025-03-09 09:37:35 -05:00
parent e55e18abf8
commit c1ca01eb93
12 changed files with 144 additions and 144 deletions

View File

@@ -29,8 +29,8 @@ def list_to_matrix(lst: list[int], cols: int) -> list[list[int]]:
return [lst[i:i + cols] for i in range(0, len(lst), cols)]
def matrix_transpose(interface: list[list[int]]) -> list[list[int]]:
return [list(row) for row in zip(*interface)]
def matrix_transpose(mat: list[list[int]]) -> list[list[int]]:
return [list(row) for row in zip(*mat)]
def int_array_to_bytes(int_arr: list[int], byte_size: int = 2) -> bytes: