|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.simBio.util.numerical.methods.SecantMethod
public final class SecantMethod
This class provides Secant method to solve a nonlinear equation. Secant method is a difference Newton method.
フィールドの概要 | |
---|---|
static double |
DEFAULT_EPSILON
A tiny value as tolerance. |
メソッドの概要 | |
---|---|
static double |
solve(MathFunction function,
Node node)
Solve the specified nonlinear equation. |
static double |
solve(MathFunction function,
Node node,
double epsilon)
Solve the specified nonlinear equation. |
static double |
solve(MathUnivariableFunction function,
Node node)
Solve the specified nonlinear equation. |
static double |
solve(MathUnivariableFunction function,
Node node,
double epsilon)
Solve the specified nonlinear equation. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final double DEFAULT_EPSILON
メソッドの詳細 |
---|
public static double solve(MathFunction function, Node node)
function
- The function to be solved. Its calculate
method
is repeatedly called.node
- The variable to be solved. Its value is setted to the
solution.
public static double solve(MathFunction function, Node node, double epsilon)
function
- The function to be solved. Its calculate
method
is repeated called.node
- The variable to be solved.
Its value is set to the solution.epsilon
- The accuracy. The iteration is repeated until the function
value gets lower than this value.
public static double solve(MathUnivariableFunction function, Node node)
function
- The function to be solved. Its calculate
method
is repeated called.node
- The variable to be solved. Its value is setted to the
solution.
public static double solve(MathUnivariableFunction function, Node node, double epsilon)
function
- The function to be solved. Its calculate
method
is repeated called.node
- The variable to be solved. Its value is setted to the
solution.epsilon
- The accuracy. The iteration is repeated until the function
value gets lower than this value.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |