org.mklab.nfc.nleq
クラス NewtonRaphsonRootSolver
java.lang.Object
org.mklab.nfc.nleq.NonLinearEquationSolver
org.mklab.nfc.nleq.NewtonRaphsonSolver
org.mklab.nfc.nleq.NewtonRaphsonRootSolver
public class NewtonRaphsonRootSolver
- extends NewtonRaphsonSolver
ニュートン・ラフソン法で「f(x) = 0」の形式の連立非線形方程式の解を求めるクラスです。
- バージョン:
- $Revision: 1.5 $, 2004/11/10
- 作成者:
- Koga Laboratory
クラス org.mklab.nfc.nleq.NewtonRaphsonSolver から継承されたメソッド |
getDeltaJacobian, getDeltaSolution, getMaxTrial, getToleranceOfFunction, getToleranceOfJacobian, getToleranceOfSolution, isTracable, setDeltaJacobian, setDeltaJacobian, setDeltaSolution, setMaxTrial, setToleranceOfFunction, setToleranceOfFunction, setToleranceOfJacobian, setToleranceOfJacobian, setToleranceOfSolution, setToleranceOfSolution, setTracable, setupParameters |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewtonRaphsonRootSolver
public NewtonRaphsonRootSolver()
solve
public NumericalMatrixOperator<?> solve(NonLinearFunction function,
NumericalMatrixOperator<?> initialValue)
throws NotConvergedException,
SolverStopException
- 連立方程式のそれぞれの残差の絶対値が許容誤差(
toleranceOfFunction
)より小さい、または、
それぞれの解の変化量の絶対値が許容誤差(toleranceOfSolution
)より小さければ、収束したと判定し、
解を返します。
もし、最大繰り返し回(matxTrial
)で解が収束しなければ、警告を表示し、 その時の値を返します。
- 定義:
- クラス
NonLinearEquationSolver
内の solve
- パラメータ:
function
- 非線形ベクトル関数initialValue
- 解の初期値
- 戻り値:
- 方程式の解
- 例外:
NotConvergedException
- 解が収束しない場合
SolverStopException
- ソルバーが停止された場合- 関連項目:
NonLinearEquationSolver.solve(org.mklab.nfc.nleq.NonLinearFunction,
org.mklab.nfc.matrix.NumericalMatrixOperator)