diff --git a/GenerateMatrixPermutations/GenerateMatrixPermuations.py b/GenerateMatrixPermutations/GenerateMatrixPermuations.py index 48c3ccb..b675225 100644 --- a/GenerateMatrixPermutations/GenerateMatrixPermuations.py +++ b/GenerateMatrixPermutations/GenerateMatrixPermuations.py @@ -9,6 +9,7 @@ """ + #flattenMatrix - not used in this script, but this function #flattens a matrix into an array def flattenMatrix(matrix): @@ -40,7 +41,7 @@ def souffleArray(array, size): #ie a 4x4 matrix should have 16 nested for loops. def fill4(min, max): array = [] - size = 2 + size = 3 for n1 in range(min, max+1): for n2 in range(min, max+1): for n3 in range(min, max+1): diff --git a/README b/README index 9e01326..06d23d3 100644 --- a/README +++ b/README @@ -1,3 +1,5 @@ This project is a container for various python scripts, added by folders. The following is a description of each project: -GenerateMatrixPermuations - a trivial script for generating all possible permuations of a 2x2 matrix with values from a rnage of [MIN,MAX] and doing some operation on each. \ No newline at end of file +GenerateMatrixPermuations - a trivial script for generating all possible permuations of a 2x2 matrix with values from a rnage of [MIN,MAX] and doing some operation on each. +hii hello wel +welcome