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

コンストラクタの概要
NewtonRaphsonRootSolver()
           
 
メソッドの概要
 NumericalMatrixOperator<?> solve(NonLinearFunction function, NumericalMatrixOperator<?> initialValue)
          連立方程式のそれぞれの残差の絶対値が許容誤差(toleranceOfFunction)より小さい、または、 それぞれの解の変化量の絶対値が許容誤差(toleranceOfSolution)より小さければ、収束したと判定し、 解を返します。
 
クラス org.mklab.nfc.nleq.NewtonRaphsonSolver から継承されたメソッド
getDeltaJacobian, getDeltaSolution, getMaxTrial, getToleranceOfFunction, getToleranceOfJacobian, getToleranceOfSolution, isTracable, setDeltaJacobian, setDeltaJacobian, setDeltaSolution, setMaxTrial, setToleranceOfFunction, setToleranceOfFunction, setToleranceOfJacobian, setToleranceOfJacobian, setToleranceOfSolution, setToleranceOfSolution, setTracable, setupParameters
 
クラス org.mklab.nfc.nleq.NonLinearEquationSolver から継承されたメソッド
isTrial, setTrial, warning
 
クラス 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)