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
Author:
O.C.

Field Summary
static int MAXITERATION
          This value fixes the maximum number of iterations in the algorithm.
static double PRECISION
          This value represents the precision of the solution.
 
Constructor Summary
FixPoint()
           
 
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
 

Field Detail

PRECISION

public static double PRECISION
This value represents the precision of the solution.

MAXITERATION

public static int MAXITERATION
This value fixes the maximum number of iterations in the algorithm.
Constructor Detail

FixPoint

public FixPoint()
Method Detail

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's 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)