arrayutil.py

Some useful array utilities.

openmdao.util.arrayutil.array_idx_iter(shape)[source]

Return an iterator over the indices into a n-dimensional array.

Args:

shape : tuple

shape of the array.