public ArrayFieldVector(Field<T> field,T[] d,int pos,int size) throws MathIllegalArgumentException, NullArgumentException {
  MathUtils.checkNotNull(d);
  if (d.length < pos + size) {
    throw new MathIllegalArgumentException(LocalizedCoreFormats.NUMBER_TOO_LARGE,pos + size,d.length);
  }
  this.field=field;
  data=MathArrays.buildArray(field,size);
  System.arraycopy(d,pos,data,0,size);
}

public ArrayFieldVector ( Field < T > field , T [ ] d , int pos , int size ) throws MathIllegalArgumentException , NullArgumentException { MathUtils . checkNotNull ( d ) ; if ( d . length < pos + size ) { throw new MathIllegalArgumentException ( LocalizedCoreFormats . NUMBER_TOO_LARGE , pos + size , d . length ) ; } this . field = field ; data = MathArrays . buildArray ( field , size ) ; System . arraycopy ( d , pos , data , 0 , size ) ; }
construct a vector from part of a array .
