MCPcopy Create free account
hub / github.com/numpy/numpy / get_array

Function get_array

numpy/core/tests/test_nditer.py:1768–1772  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

1766 assert_equal([x[()] for x in i], a_fort[r[0]:r[1]])
1767
1768 def get_array(i):
1769 val = np.array([], dtype='f8')
1770 for x in i:
1771 val = np.concatenate((val, x))
1772 return val
1773
1774 i = nditer(a, ['ranged', 'buffered', 'external_loop'],
1775 ['readonly'], order='F',

Callers 1

test_iter_iterrangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected