Class LevenbergMarquardtOptimizer.InternalData

java.lang.Object
org.apache.commons.math3.fitting.leastsquares.LevenbergMarquardtOptimizer.InternalData
Enclosing class:
LevenbergMarquardtOptimizer

private static class LevenbergMarquardtOptimizer.InternalData extends Object
Holds 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 final double[]
    Coefficients of the Householder transforms vectors.
    private final double[]
    Diagonal elements of the R matrix in the QR decomposition.
    private final double[]
    Norms of the columns of the jacobian matrix.
    private final int[]
    Columns permutation array.
    private final int
    Rank of the Jacobian matrix.
    private final double[][]
    Weighted Jacobian.
  • Constructor Summary

    Constructors
    Constructor
    Description
    InternalData(double[][] weightedJacobian, int[] permutation, int rank, double[] diagR, double[] jacNorm, double[] beta)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 Details

    • 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.