code: public static IntArrayND createSubArray(
          IntArrayND parent, IntTuple fromIndices, IntTuple toIndices)
      {
          return new SubIntArrayND(
              parent, fromIndices, toIndices);
      }
docs: Creates a new array that is a <i>view</i> on the specified portion
  of the given parent. Changes in the parent will be visible in the
  returned array.
  
  @param parent The parent array
  @param fromIndices The start indices in the parent, inclusive
  @param toIndices The end indices in the parent, exclusive
  @throws NullPointerException If any argument is <code>null</code>
  @throws IllegalArgumentException If the indices are not valid. This
  is the case when the {@link IntTuple#getSize() size} of the start- or
  end indices is different than the parent size, or when
  <code>fromIndex &lt; 0</code> or
  <code>toIndex &gt; parentSize(i)</code>
  or <code>fromIndex &gt; toIndex</code> for any dimension.
  @return The new array