|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.stellarium.solve.DoubleSolve
public class DoubleSolve
| Nested Class Summary | |
|---|---|
static class |
DoubleSolve.DoublePair
|
static interface |
DoubleSolve.Pair
|
| Constructor Summary | |
|---|---|
DoubleSolve()
|
|
| Method Summary | |
|---|---|
static DoubleSolve.DoublePair
|
solve_bisection(UnaryFunction f,
double lower, double upper, double err, int maxIter)
DoubleSolve a function using the bisection method. |
static DoubleSolve.DoublePair
|
solve_iteration(UnaryFunction f,
double x0, double err, int maxIter)
DoubleSolve using iteration; terminate when error is below err or the maximum number of iterations is reached. |
static DoubleSolve.DoublePair
|
solveIterationFixed(UnaryFunction f,
double x0, int maxIter)
DoubleSolve using iteration method and a fixed number of steps. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleSolve()
| Method Detail |
|---|
public static DoubleSolve.DoublePair solve_bisection(UnaryFunction f,
double lower,
double upper,
double err,
int maxIter)
public static DoubleSolve.DoublePair solve_iteration(UnaryFunction f,
double x0,
double err,
int maxIter)
public static DoubleSolve.DoublePair solveIterationFixed(UnaryFunction f,
double x0,
int maxIter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||