Class LevenbergMarquardtOptimizer.InternalData
- java.lang.Object
-
- org.apache.commons.math3.fitting.leastsquares.LevenbergMarquardtOptimizer.InternalData
-
- Enclosing class:
- LevenbergMarquardtOptimizer
private static class LevenbergMarquardtOptimizer.InternalData extends java.lang.ObjectHolds internal data. This structure was created so that all optimizer fields can be "final". Code should be further refactored in order to not pass around arguments that will modified in-place (cf. "work" arrays).
-
-
Field Summary
Fields Modifier and Type Field Description private double[]betaCoefficients of the Householder transforms vectors.private double[]diagRDiagonal elements of the R matrix in the QR decomposition.private double[]jacNormNorms of the columns of the jacobian matrix.private int[]permutationColumns permutation array.private intrankRank of the Jacobian matrix.private double[][]weightedJacobianWeighted Jacobian.
-
Constructor Summary
Constructors Constructor Description InternalData(double[][] weightedJacobian, int[] permutation, int rank, double[] diagR, double[] jacNorm, double[] beta)
-
-
-
Field Detail
-
weightedJacobian
private final double[][] weightedJacobian
Weighted Jacobian.
-
permutation
private final int[] permutation
Columns permutation array.
-
rank
private final int rank
Rank of the Jacobian matrix.
-
diagR
private final double[] diagR
Diagonal elements of the R matrix in the QR decomposition.
-
jacNorm
private final double[] jacNorm
Norms of the columns of the jacobian matrix.
-
beta
private final double[] beta
Coefficients of the Householder transforms vectors.
-
-
Constructor Detail
-
InternalData
InternalData(double[][] weightedJacobian, int[] permutation, int rank, double[] diagR, double[] jacNorm, double[] beta)- Parameters:
weightedJacobian- Weighted Jacobian.permutation- Columns permutation array.rank- Rank of the Jacobian matrix.diagR- Diagonal elements of the R matrix in the QR decomposition.jacNorm- Norms of the columns of the jacobian matrix.beta- Coefficients of the Householder transforms vectors.
-
-