org.mklab.nfc.eig
クラス QRDecomposition<M extends NumericalMatrixOperator<?>>

java.lang.Object
  上位を拡張 org.mklab.nfc.eig.QRDecomposition<M>
型パラメータ:
M - 行列の型

public class QRDecomposition<M extends NumericalMatrixOperator<?>>
extends Object

QR分解(A=Q*R)および並べ替え付きQR分解(A*P=Q*R)を保持するクラスです。

バージョン:
$Revision$, 2009/12/18
作成者:
koga

コンストラクタの概要
QRDecomposition(M q, M r)
          新しく生成されたQRDecompositionオブジェクトを初期化します。
QRDecomposition(M q, M r, IntMatrix p)
          新しく生成されたQRDecompositionオブジェクトを初期化します。
 
メソッドの概要
 boolean containP()
          並び替え行列を含むか判定します。
 IntMatrix getP()
          P(並び替え行列、直交行列)を返します。
 M getQ()
          Q(直交行列)を返します。
 M getR()
          R(上三角行列)を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

QRDecomposition

public QRDecomposition(M q,
                       M r,
                       IntMatrix p)
新しく生成されたQRDecompositionオブジェクトを初期化します。

パラメータ:
q - Q(直交行列)
r - R(上三角行列)
p - P(並び替え行列、直交行列)

QRDecomposition

public QRDecomposition(M q,
                       M r)
新しく生成されたQRDecompositionオブジェクトを初期化します。

パラメータ:
q - Q(直交行列)
r - R(上三角行列)
メソッドの詳細

getQ

public M getQ()
Q(直交行列)を返します。

戻り値:
Q(直交行列)

getR

public M getR()
R(上三角行列)を返します。

戻り値:
R(上三角行列)

getP

public IntMatrix getP()
P(並び替え行列、直交行列)を返します。

戻り値:
P(並び替え行列、直交行列)

containP

public boolean containP()
並び替え行列を含むか判定します。

戻り値:
並び替え行列を含むならばtrue