|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.analysis.SinFunction
public class SinFunction
Auxillary class for testing solvers. The function is extraordinarily well behaved around zero roots: it has an inflection point there (second order derivative is zero), which means linear approximation (Regula Falsi) will converge quadratically.
| Constructor Summary | |
|---|---|
SinFunction()
|
|
| Method Summary | |
|---|---|
org.apache.commons.math.analysis.UnivariateRealFunction |
derivative()
|
double |
value(double x)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SinFunction()
| Method Detail |
|---|
public double value(double x)
throws org.apache.commons.math.FunctionEvaluationException
value in interface org.apache.commons.math.analysis.UnivariateRealFunctionorg.apache.commons.math.FunctionEvaluationExceptionpublic org.apache.commons.math.analysis.UnivariateRealFunction derivative()
derivative in interface org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||