All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jDisco.Implicit
The user can determine the order of evaluation within each continuous process and the continuous processes themselves may be ranked by giving them a priority. Usually by these means a correct evaluation order can be achieved.
In some cases, however, this is impossible: there is an "algebraic loop" in the equation system.
An algebraic loop can often be circumvented by either rewriting the equations or using the class Implicit.
Class Implicit is used to solve equations of the form
x = f(x)that is, to find the fixpoint of the function f.
The mthod fixPoint finds an x satsifying the equation with a given tolerance, tol, i.e.
|x - f(x)| <= |tol|Wegstein's accelerated convergence algorithm is used to compute x. The algorithm is iterative and uses the paramter value of x as an initial guess for x.
If the tolerance criterion is not satisfied after 100 iterations, the program
stops with the error message:
Implicit: Convergence is not achieved within 100 iterations
public Implicit()
protected abstract double f(double x)
public double fixPoint(double x, double tol)
public double fixPoint()
All Packages Class Hierarchy This Package Previous Next Index