diff --git a/determinate_test.py b/determinate_test.py index 932bb34..1ab14d2 100644 --- a/determinate_test.py +++ b/determinate_test.py @@ -1,4 +1,4 @@ -import determinate3x3 +import modules.determinate3x3 as determinate3x3 Matrix = [ [4, 3, 6], diff --git a/determinate2x2.py b/modules/determinate2x2.py similarity index 100% rename from determinate2x2.py rename to modules/determinate2x2.py diff --git a/determinate3x3.py b/modules/determinate3x3.py similarity index 97% rename from determinate3x3.py rename to modules/determinate3x3.py index cfc202b..ed5dd6d 100644 --- a/determinate3x3.py +++ b/modules/determinate3x3.py @@ -12,7 +12,7 @@ NOTE: You call determinate3x3.det3x3(M) to find the determinate of matrix M. If will receive an AssertionError: "Matrix is not 3x3" """ -import determinate2x2 +import modules.determinate2x2 as determinate2x2 import copy diff --git a/mat_flat.py b/modules/mat_flat.py similarity index 99% rename from mat_flat.py rename to modules/mat_flat.py index 4ce789c..4f1e068 100644 --- a/mat_flat.py +++ b/modules/mat_flat.py @@ -1,5 +1,6 @@ from typing import List + """ Flattens a 2D list (matrix) into a 1D list. Args: diff --git a/mat_trans.py b/modules/mat_trans.py similarity index 100% rename from mat_trans.py rename to modules/mat_trans.py