jp.go.ipa.jgcl
クラス JgclMatrix.LinearLeastSquareSolution

java.lang.Object
  |
  +--jp.go.ipa.jgcl.JgclMatrix.LinearLeastSquareSolution
含まれているクラス:
JgclMatrix

public class JgclMatrix.LinearLeastSquareSolution
extends java.lang.Object

条件過剰 (未知数の数よりも方程式の数の方が多い) の連立一次方程式 AX = B に対する最小自乗解 X' を表す内部クラス

関連項目:
JgclMatrix.solveLinearLeastSquare(double[])

メソッドの概要
 double condition()
          行列 A の条件数を返す。
 int rank()
          行列 A の階数を返す。
 double solutionAt(int i)
          指定の番号の最小自乗解を返す。
 double[] solutions()
          指定の番号の最小自乗解 X' を返す。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

rank

public int rank()
行列 A の階数を返す。
戻り値:
行列 A の階数

condition

public double condition()
行列 A の条件数を返す。
戻り値:
行列 A の条件数

solutionAt

public double solutionAt(int i)
指定の番号の最小自乗解を返す。

X'[i] を返す。

パラメータ:
i - X' 内のインデックス
戻り値:
i 番目の最小自乗解

solutions

public double[] solutions()
指定の番号の最小自乗解 X' を返す。
戻り値:
最小自乗解の配列 (X')