Search
Search Results
Search finished, found 5 page(s) matching the search query.
- numpy.nditer.iternext
...Routines and objects by topic Indexing routines numpy.nditer numpy.nditer.iternext...
- numpy.nditer.iternext (Python method, in numpy.nditer.iternext)
- numpy.nditer
...e']]) ... with it: ... while not it.finished: ... addop(it[0], it[1], out=it[2]) ... it.iternext() ... return it.operands[2] Here is an example outer product function: >>> def outer_it(x, y, out=None...
- numpy.nditer.iternext
...Routines and objects by topic Indexing routines numpy.nditer numpy.nditer.iternext...
- Iterating over arrays
..._index']) >>> while not it.finished: ... print("%d <%d>" % (it[0], it.index), end=' ') ... is_not_finished = it.iternext() ... 0 <0> 1 <2> 2 <4> 3 <1> 4 <3> 5 <5> >>> it = np.nditer(a, flags=['multi_index']) >>> while not it.finis...