MCPcopy Index your code
hub / github.com/Apress/python-for-matlab-development / main

Function main

code/hpc/MB.py:54–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 return img
53
54def main():
55 imax = 255
56 for N in [500,1000,2000,5000]:
57 T_s = time.time()
58 nR, nC = N, N
59 Re = np.linspace(-0.7440,
60 -0.7433, nC)
61 Im = np.linspace( 0.1315,
62 0.1322, nR)
63 img = MB(Re, Im, imax)
64 print(N, time.time() - T_s)
65if __name__ == '__main__': main()

Callers 2

MB_vectorized.pyFile · 0.70
MB.pyFile · 0.70

Calls 1

MBFunction · 0.70

Tested by

no test coverage detected