hloopy/hloop.py
def _pick_shape(self, N):
        """Pick a good grid shape for N HLoops."""
        ncols = int(np.ceil(np.sqrt(N)))
        nrows = int(np.ceil(N / ncols))
        return nrows, ncols
Pick a good grid shape for N HLoops.
Pick a good grid shape for N HLoops.
Pick a good grid shape for N HLoops .
def _pick_shape(self, N):
        ncols = int(np.ceil(np.sqrt(N)))
        nrows = int(np.ceil(N / ncols))
        return nrows, ncols
def _pick_shape ( self , N ) : ncols = int ( np . ceil ( np . sqrt ( N ) ) ) nrows = int ( np . ceil ( N / ncols ) ) return nrows , ncols
Pick a good grid shape for N HLoops.
Pick a good grid shape for N HLoops .
"""Pick a good grid shape for N HLoops."""
self
N