This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import numpy as np | |
from PIL import Image | |
#------------------------------------------------------------------- | |
# | |
# helper functions | |
# | |
def create_complex_plane(X, Y, x0, x1, y0, y1, endpoint=False): | |
I = np.indices((Y,X)).astype(np.float64) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Trie.swift | |
// AutoCorrect | |
// | |
// Created by Shaul Hameed on 30/07/17. | |
// | |
// | |