Skip to content

Commit

Permalink
some refactoring of approx and other scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hearues-zueke-github committed Apr 5, 2019
1 parent a13bb71 commit 4852344
Show file tree
Hide file tree
Showing 6 changed files with 385 additions and 208 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ puzzle_solver/figures
.idea

math_numbers/objs

venv
3 changes: 2 additions & 1 deletion combinatorics/different_combinations.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# n ... amount of states
def get_all_combinations_repeat(m, n):
amount = m**n
arr = np.zeros((amount, n), dtype=np.int)
arr = np.zeros((amount, n), dtype=np.uint8)
# arr = np.zeros((amount, n), dtype=np.int)

arr[:m, n-1] = np.arange(0, m)

Expand Down
1 change: 1 addition & 0 deletions picture_manipulation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# import os, sys; sys.path.append(os.path.dirname(os.path.realpath(__file__)))
Loading

0 comments on commit 4852344

Please sign in to comment.