/** * Compute the objective function value. * * @param point Point at which the objective function must be evaluated. * @return the objective function value and derivative at specified point. * @throws TooManyEvaluationsException * if the maximal number of evaluations is exceeded. */ protected DerivativeStructure computeObjectiveValueAndDerivative(double point) throws TooManyEvaluationsException { incrementEvaluationCount(); return function.value(new DerivativeStructure(1, 1, 0, point)); }
/** * Compute the objective function value. * * @param point Point at which the objective function must be evaluated. * @return the objective function value and derivative at specified point. * @throws TooManyEvaluationsException * if the maximal number of evaluations is exceeded. */ protected DerivativeStructure computeObjectiveValueAndDerivative(double point) throws TooManyEvaluationsException { incrementEvaluationCount(); return function.value(new DerivativeStructure(1, 1, 0, point)); }
/** * Compute the objective function value. * * @param point Point at which the objective function must be evaluated. * @return the objective function value and derivative at specified point. * @throws TooManyEvaluationsException * if the maximal number of evaluations is exceeded. */ protected DerivativeStructure computeObjectiveValueAndDerivative(double point) throws TooManyEvaluationsException { incrementEvaluationCount(); return function.value(new DerivativeStructure(1, 1, 0, point)); }