org.mklab.nfc.eig
クラス RealQrDecomposer<E extends NumericalScalar<E>>

java.lang.Object
  上位を拡張 org.mklab.nfc.eig.RealQrDecomposer<E>
型パラメータ:
E - 成分の型

public final class RealQrDecomposer<E extends NumericalScalar<E>>
extends Object

実行列のQR分解を行うためのクラスです。

バージョン:
$Revision: 1.4 $
作成者:
koga

コンストラクタの概要
RealQrDecomposer()
           
 
メソッドの概要
 QRDecompositionElements<E> decompose(E[][] a)
          実行列をQR分解を返します。
 QRDecompositionElements<E> decomposeWithPermutation(E[][] a)
          実行列の並べ替え付きQR分解を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RealQrDecomposer

public RealQrDecomposer()
メソッドの詳細

decompose

public QRDecompositionElements<E> decompose(E[][] a)
実行列をQR分解を返します。

実行列をA、直交行列をQ、上三角行列をRとすると、これらの行列の間には、

A = Q * R
QT * Q = I
の関係が成り立ちます。

パラメータ:
a - 対象となる実行列
戻り値:
QR分解の結果

decomposeWithPermutation

public QRDecompositionElements<E> decomposeWithPermutation(E[][] a)
実行列の並べ替え付きQR分解を返します。

実行列をA、直交行列をQ、上三角行列を R、並べ替え行列をPとすると、 これらの行列の間には、

A * P = Q * R
Q T * Q = I
の関係が成り立ちます。

パラメータ:
a - 対象となる実行列
戻り値:
QR分解の結果