MCPcopy Create free account
hub / github.com/PyTables/PyTables / populate_x_numpy

Function populate_x_numpy

bench/poly.py:53–57  ·  view source on GitHub ↗

Populate the values in x axis for numpy.

()

Source from the content-addressed store, hash-verified

51
52
53def populate_x_numpy():
54 """Populate the values in x axis for numpy."""
55 global x
56 # Populate x in range [-1, 1]
57 x = np.linspace(-1, 1, N)
58
59
60def populate_x_memmap():

Callers 1

poly.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected