1 16 package org.apache.commons.math.analysis; 17 18 import org.apache.commons.math.ConvergenceException; 19 import org.apache.commons.math.FunctionEvaluationException; 20 21 22 29 public interface UnivariateRealSolver { 30 31 43 void setMaximalIterationCount(int count); 44 45 50 int getMaximalIterationCount(); 51 52 59 void resetMaximalIterationCount(); 60 61 76 void setAbsoluteAccuracy(double accuracy); 77 78 83 double getAbsoluteAccuracy(); 84 85 90 void resetAbsoluteAccuracy(); 91 92 106 void setRelativeAccuracy(double accuracy); 107 108 112 double getRelativeAccuracy(); 113 114 118 void resetRelativeAccuracy(); 119 120 133 void setFunctionValueAccuracy(double accuracy); 134 135 139 double getFunctionValueAccuracy(); 140 141 145 void resetFunctionValueAccuracy(); 146 147 161 double solve(double min, double max) throws ConvergenceException, 162 FunctionEvaluationException; 163 164 179 double solve(double min, double max, double startValue) 180 throws ConvergenceException, FunctionEvaluationException; 181 182 189 double getResult(); 190 191 204 int getIterationCount(); 205 } | Popular Tags |