public class LeastSquaresMethod extends InverseProblem
m = (ATA+λI)-1A Td
| コンストラクタと説明 |
|---|
LeastSquaresMethod(org.apache.commons.math3.linear.RealMatrix ata,
org.apache.commons.math3.linear.RealVector atd)
Find m which gives minimum |d-Am|2.
|
LeastSquaresMethod(org.apache.commons.math3.linear.RealMatrix ata,
org.apache.commons.math3.linear.RealVector atd,
double lambda)
Find m which gives minimum |d-Am|2 + λ|m|2.
|
LeastSquaresMethod(org.apache.commons.math3.linear.RealMatrix ata,
org.apache.commons.math3.linear.RealVector atd,
double lambda,
org.apache.commons.math3.linear.RealMatrix t,
org.apache.commons.math3.linear.RealVector eta) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
compute() |
org.apache.commons.math3.linear.RealMatrix |
computeCovariance(double sigmaD,
int j) |
org.apache.commons.math3.linear.RealMatrix |
getBaseVectors() |
static void |
main(java.lang.String[] args) |
getANS, getAns, getParN, outputAnspublic LeastSquaresMethod(org.apache.commons.math3.linear.RealMatrix ata,
org.apache.commons.math3.linear.RealVector atd)
ata - Matrix ATAatd - Vector ATdpublic LeastSquaresMethod(org.apache.commons.math3.linear.RealMatrix ata,
org.apache.commons.math3.linear.RealVector atd,
double lambda)
ata - Matrix ATAatd - Vector ATdlambda - λ for the equationpublic LeastSquaresMethod(org.apache.commons.math3.linear.RealMatrix ata,
org.apache.commons.math3.linear.RealVector atd,
double lambda,
org.apache.commons.math3.linear.RealMatrix t,
org.apache.commons.math3.linear.RealVector eta)
ata - ATAatd - ATdlambda - λt - teta - ηpublic static void main(java.lang.String[] args)
public org.apache.commons.math3.linear.RealMatrix computeCovariance(double sigmaD,
int j)
computeCovariance クラス内 InverseProblemsigmaD - σdj - index (1, 2, ...)public void compute()
compute クラス内 InverseProblempublic org.apache.commons.math3.linear.RealMatrix getBaseVectors()
getBaseVectors クラス内 InverseProblem