Searched refs:lmDiag (Results 1 – 4 of 4) sorted by relevance
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/optimization/general/ |
H A D | LevenbergMarquardtOptimizer.java | 725 double[] lmDiag, double[] work) { in determineLMDirection() argument 746 Arrays.fill(lmDiag, j + 1, lmDiag.length, 0); in determineLMDirection() 748 lmDiag[j] = dpj; in determineLMDirection() 759 if (lmDiag[k] != 0) { in determineLMDirection() 764 if (FastMath.abs(rkk) < FastMath.abs(lmDiag[k])) { in determineLMDirection() 765 final double cotan = rkk / lmDiag[k]; in determineLMDirection() 769 final double tan = lmDiag[k] / rkk; in determineLMDirection() 785 lmDiag[i] = -sin * rik + cos * lmDiag[i]; in determineLMDirection() 793 lmDiag[j] = weightedJacobian[j][permutation[j]]; in determineLMDirection() 801 if ((lmDiag[j] == 0) && (nSing == solvedCols)) { in determineLMDirection() [all …]
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/optim/nonlinear/vector/jacobian/ |
H A D | LevenbergMarquardtOptimizer.java | 732 double[] lmDiag, double[] work) { in determineLMDirection() argument 753 Arrays.fill(lmDiag, j + 1, lmDiag.length, 0); in determineLMDirection() 755 lmDiag[j] = dpj; in determineLMDirection() 766 if (lmDiag[k] != 0) { in determineLMDirection() 771 if (FastMath.abs(rkk) < FastMath.abs(lmDiag[k])) { in determineLMDirection() 772 final double cotan = rkk / lmDiag[k]; in determineLMDirection() 776 final double tan = lmDiag[k] / rkk; in determineLMDirection() 792 lmDiag[i] = -sin * rik + cos * lmDiag[i]; in determineLMDirection() 800 lmDiag[j] = weightedJacobian[j][permutation[j]]; in determineLMDirection() 808 if ((lmDiag[j] == 0) && (nSing == solvedCols)) { in determineLMDirection() [all …]
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/fitting/leastsquares/ |
H A D | LevenbergMarquardtOptimizer.java | 803 double[] lmDiag, in determineLMDirection() argument 831 Arrays.fill(lmDiag, j + 1, lmDiag.length, 0); in determineLMDirection() 833 lmDiag[j] = dpj; in determineLMDirection() 844 if (lmDiag[k] != 0) { in determineLMDirection() 849 if (FastMath.abs(rkk) < FastMath.abs(lmDiag[k])) { in determineLMDirection() 850 final double cotan = rkk / lmDiag[k]; in determineLMDirection() 854 final double tan = lmDiag[k] / rkk; in determineLMDirection() 870 lmDiag[i] = -sin * rik + cos * lmDiag[i]; in determineLMDirection() 878 lmDiag[j] = weightedJacobian[j][permutation[j]]; in determineLMDirection() 886 if ((lmDiag[j] == 0) && (nSing == solvedCols)) { in determineLMDirection() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/rgbd/src/ |
H A D | pose_graph.cpp | 536 const std::vector<double>& lmDiag) in calcJacCostChange() argument 541 jdiag += x[i] * (jtb[i] - lmDiag[i] * x[i]); in calcJacCostChange() 771 std::vector<double> lmDiag(nVars); in optimize() local 776 lmDiag[i] = ld; in optimize() 794 jacCostChange = calcJacCostChange(jtb, x, lmDiag); in optimize()
|