private void checkParameters(){
  if (inputSigma != null) {
    final double[] init=getStartPoint();
    if (inputSigma.length != init.length) {
      throw new MathIllegalArgumentException(LocalizedCoreFormats.DIMENSIONS_MISMATCH,inputSigma.length,init.length);
    }
    final double[] lB=getLowerBound();
    final double[] uB=getUpperBound();
    for (int i=0; i < init.length; i++) {
      if (inputSigma[i] > uB[i] - lB[i]) {
        throw new MathIllegalArgumentException(LocalizedCoreFormats.OUT_OF_RANGE_SIMPLE,inputSigma[i],0,uB[i] - lB[i]);
      }
    }
  }
}

private void checkParameters ( ) { if ( inputSigma != null ) { final double [ ] init = getStartPoint ( ) ; if ( inputSigma . length != init . length ) { throw new MathIllegalArgumentException ( LocalizedCoreFormats . DIMENSIONS_MISMATCH , inputSigma . length , init . length ) ; } final double [ ] lB = getLowerBound ( ) ; final double [ ] uB = getUpperBound ( ) ; for ( int i = 0 ; i < init . length ; i ++ ) { if ( inputSigma [ i ] > uB [ i ] - lB [ i ] ) { throw new MathIllegalArgumentException ( LocalizedCoreFormats . OUT_OF_RANGE_SIMPLE , inputSigma [ i ] , 0 , uB [ i ] - lB [ i ] ) ; } } } }
checks dimensions and values of boundaries and inputsigma if defined .
