|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.util.numerical.methods.BroydenMethod
public final class BroydenMethod
This class provides Broyden's method to solve systems of nonlinear equations. Broyden's method is a quasi-Newton method.
Field Summary | |
---|---|
static double |
DEFAULT_EPSILON
A tiny value as tolerance. |
Method Summary | |
---|---|
static double |
solve(MathFunction[] functions,
Node[] nodes)
Solves the specified nonlinear equations for the specified variables. |
static double |
solve(MathFunction[] functions,
Node[] nodes,
double epsilon,
int iteration)
Solves the specified nonlinear equations for the specified variables. |
static double |
solve(MathMultivariableFunction[] functions,
double[] values)
Solves the specified nonlinear equations for the specified variables. |
static double |
solve(MathMultivariableFunction[] functions,
double[] values,
double epsilon,
int iteration)
Solves the specified nonlinear equations for the specified variables. |
static double |
solve(MathMultivariableFunction[] functions,
Node[] nodes)
Solves the specified nonlinear equations for the specified variables. |
static double |
solve(MathMultivariableFunction[] functions,
Node[] nodes,
double epsilon,
int iteration)
Solves the specified nonlinear equations for the specified variables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_EPSILON
Method Detail |
---|
public static double solve(MathFunction[] functions, Node[] nodes)
functions
- The equations to be solved. Their calculate
methods are repeated called.nodes
- The variables to be solved. Their values are setted to the
solution.
public static double solve(MathFunction[] functions, Node[] nodes, double epsilon, int iteration)
functions
- The equations to be solved. Their calculate
methods are repeated called.nodes
- The variables to be solved. Their values are setted to the
solution.epsilon
- The accuracy. The iteration are repeated until the norm of
functions gets lower than this value.iteration
- The maximam iteration count.
public static double solve(MathMultivariableFunction[] functions, Node[] nodes)
functions
- The equations to be solved. Their calculate
methods are repeated called.nodes
- The variables to be solved. Their values are setted to the
solution.
public static double solve(MathMultivariableFunction[] functions, Node[] nodes, double epsilon, int iteration)
functions
- The equations to be solved. Their calculate
methods are repeated called.nodes
- The variables to be solved. Their values are setted to the
solution.epsilon
- The accuracy. The iteration are repeated until the norm of
functions gets lower than this value.iteration
- The maximam iteration count.
public static double solve(MathMultivariableFunction[] functions, double[] values)
functions
- The equations to be solved. Their calculate
methods are repeated called.values
- The values of the variables to be solved. The initial values
should be setted on the method calling and the solution
values is setted on the method returning.
public static double solve(MathMultivariableFunction[] functions, double[] values, double epsilon, int iteration)
functions
- The equations to be solved. Their calculate
methods are repeated called.values
- The values of the variables to be solved. The initial values
should be setted on the method calling and the solution
values is setted on the method returning.epsilon
- The accuracy. The iteration are repeated until the norm of
functions gets lower than this value.iteration
- The maximam iteration count.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |