We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bd2006 commit d35d457Copy full SHA for d35d457
1 file changed
2019/complex_utils.py
@@ -78,6 +78,10 @@ def amplitude(self):
78
southwest,
79
]
80
81
+# Easy way of representing direction
82
+accent_to_dir = {"^": north, "v": south, ">": east, "<": west}
83
+dir_to_accent = {accent_to_dir[x]: x for x in accent_to_dir}
84
+
85
# To be multiplied by the current cartinal direction
86
relative_directions = {
87
"left": j,
0 commit comments