nditer.next

nditer.next x.next() -> the next value, or raise StopIteration

nditer.iternext()

nditer.iternext() Check whether iterations are left, and perform a single internal iteration without returning the result. Used in the C-style pattern do-while pattern. For an example, see nditer. Returns: iternext : bool Whether or not there are iterations left.

nditer.enable_external_loop()

nditer.enable_external_loop() When the ?external_loop? was not used during construction, but is desired, this modifies the iterator to behave as if the flag was specified.

nditer.debug_print()

nditer.debug_print() Print the current state of the nditer instance and debug info to stdout.

nditer.copy()

nditer.copy() Get a copy of the iterator in its current state. Examples >>> x = np.arange(10) >>> y = x + 1 >>> it = np.nditer([x, y]) >>> it.next() (array(0), array(1)) >>> it2 = it.copy() >>> it2.next() (array(1), array(2))

ndindex.next()

ndindex.next() [source] Standard iterator method, updates the index and returns the index tuple. Returns: val : tuple of ints Returns a tuple containing the indices of the current iteration.

ndindex.ndincr()

ndindex.ndincr() [source] Increment the multi-dimensional index by one. This method is for backward compatibility only: do not use.

ndenumerate.next()

ndenumerate.next() [source] Standard iterator method, returns the index tuple and array value. Returns: coords : tuple of ints The indices of the current iteration. val : scalar The array element of the current iteration.

ndarray.__xor__

ndarray.__xor__ x.__xor__(y) <==> x^y

ndarray.__truediv__

ndarray.__truediv__ x.__truediv__(y) <==> x/y