MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / print_tight

Function print_tight

pythran/fem/main.py:43–50  ·  view source on GitHub ↗
(M, title=None)

Source from the content-addressed store, hash-verified

41from FE_model import FE_model
42
43def print_tight(M, title=None): # {{{1
44 nR,nC = M.shape
45 if title:
46 print(f'{title} -------')
47 for r in range(nR):
48 for c in range(nC):
49 print(' % 8.3e' % M[r,c], end='')
50 print()
51# 1}}}
52def box_model(elsize='qa0.4'): # {{{
53 A = dict(vertices=np.array(((0, 0), (1, 0), (1, 1), (0, 1))))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected