opale.mathtools
Class FixPoint
java.lang.Object
|
+--opale.mathtools.FixPoint
- public final class FixPoint
- extends java.lang.Object
This class implements the fix point method to solve the equation f(x) = x, where f is a function R^n->R^n.
- Since:
- Opale-Mathtools 0.12
Field Summary |
static int |
MAXITERATION
This value fixes the maximum number of iterations in the algorithm. |
static double |
PRECISION
This value represents the square of the solution precision. |
Method Summary |
static void |
main(java.lang.String[] arg)
|
static void |
solve(IFnn f,
int n,
DVect x0,
DVect sol)
To call this method runs the resolution of the equation f(x) = x. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRECISION
public static double PRECISION
- This value represents the square of the solution precision.
MAXITERATION
public static int MAXITERATION
- This value fixes the maximum number of iterations in the algorithm.
FixPoint
public FixPoint()
solve
public static void solve(IFnn f,
int n,
DVect x0,
DVect sol)
- To call this method runs the resolution of the equation f(x) = x.
- Parameters:
IFnn,
- the function f.int,
- the dimension of the definition spaces of the function.DVect
- x0, the initial condition for the algorithm.DVect
- sol, the solution.
main
public static void main(java.lang.String[] arg)