Home
last modified time | relevance | path

Searched refs:x3max (Results 1 – 2 of 2) sorted by relevance

/external/lmfit/lib/
Dlmmin.c1083 double agiant, s1, s2, s3, xabs, x1max, x3max; in lm_enorm() local
1089 x3max = 0; in lm_enorm()
1104 } else if (xabs > x3max) { in lm_enorm()
1105 s3 = 1 + s3 * SQR(x3max / xabs); in lm_enorm()
1106 x3max = xabs; in lm_enorm()
1108 s3 += SQR(xabs / x3max); in lm_enorm()
1116 if (s2 >= x3max) in lm_enorm()
1117 return sqrt(s2 * (1 + (x3max / s2) * (x3max * s3))); in lm_enorm()
1119 return sqrt(x3max * ((s2 / x3max) + (x3max * s3))); in lm_enorm()
1121 return x3max * sqrt(s3); in lm_enorm()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java2217 double x3max = 0.0;
2233 if (xabs>x3max) {
2234 double r=x3max/xabs;
2236 x3max=xabs;
2239 double r=xabs/x3max;
2253 norm = x3max*Math.sqrt(s3);
2255 if (s2>=x3max) {
2256 norm = Math.sqrt(s2*(1.0+(x3max/s2)*(x3max*s3)));
2258 norm = Math.sqrt(x3max*((s2/x3max)+(x3max*s3)));