|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.nfc.leq.DoubleRealLUDecomposer
public final class DoubleRealLUDecomposer
倍精度(double)型の実行列のLU分解(P*A=L*U)を求めるためのクラスです。 Numerical Recipes in C 2.3節 参照
コンストラクタの概要 | |
---|---|
DoubleRealLUDecomposer()
|
メソッドの概要 | |
---|---|
LUDecompositionDoubleRealElements |
decompose(double[][] matrix,
double tolerance)
実行列をLU分解します。 |
LUDecompositionDoubleRealElements |
decomposeWithPermutation(double[][] matrix,
double tolerance)
実行列を並べ替え付きLU分解します。 |
double |
getDeterminant(double[][] matrix,
double tolerance)
行列式を返します。 |
double[][] |
inverse(double[][] matrix,
double tolerance)
行列の逆行列を返します。 |
double[][] |
leftDivide(double[][] a,
double[][] b,
double tolerance)
線形方程式の解を返します。 |
double[] |
solveLinearEquation(double[][] a,
double[] b,
double tolerance)
線形方程式の解を返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DoubleRealLUDecomposer()
メソッドの詳細 |
---|
public LUDecompositionDoubleRealElements decompose(double[][] matrix, double tolerance)
元の行列をA、下三角行列を行置換した行列をL、上三角行列をU とすると、これらの行列の間には、
A = Q * H * Q T
Q T * Q = Iの関係が成り立ちます。
matrix
- 対象となる行列tolerance
- 許容誤差
public LUDecompositionDoubleRealElements decomposeWithPermutation(double[][] matrix, double tolerance)
元の実行列をA、下三角行列を行置換した行列をL、上三角行列をU、 置換行列をPとすると、これらの行列の間には、
P * A = Q * H * Q T
Q T * Q = Iの関係が成り立ちます。
matrix
- 対象となる行列tolerance
- 許容誤差
public double[] solveLinearEquation(double[][] a, double[] b, double tolerance)
線型方程式
a * x = bの解xを返します。
a
- 行列b
- ベクトルtolerance
- 許容誤差
public double[][] inverse(double[][] matrix, double tolerance)
matrix
- 対象となる行列tolerance
- 許容誤差
public double[][] leftDivide(double[][] a, double[][] b, double tolerance)
線形方程式
A * x = Bの解xを返します。
a
- 行列b
- 行列tolerance
- 許容誤差
public double getDeterminant(double[][] matrix, double tolerance)
matrix
- 対象となる行列tolerance
- 許容誤差
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |