private static int convertIndex(final int index,final int srcP,final int[][] srcDerivativesIndirection,final int destP,final int destO,final int[][] destSizes) throws MathIllegalArgumentException {
  int[] orders=new int[destP];
  System.arraycopy(srcDerivativesIndirection[index],0,orders,0,FastMath.min(srcP,destP));
  return getPartialDerivativeIndex(destP,destO,destSizes,orders);
}

private static int convertIndex ( final int index , final int srcP , final int [ ] [ ] srcDerivativesIndirection , final int destP , final int destO , final int [ ] [ ] destSizes ) throws MathIllegalArgumentException { int [ ] orders = new int [ destP ] ; System . arraycopy ( srcDerivativesIndirection [ index ] , 0 , orders , 0 , FastMath . min ( srcP , destP ) ) ; return getPartialDerivativeIndex ( destP , destO , destSizes , orders ) ; }
convert an index from one ( parameters , order ) structure to another .
