Lines Matching refs:fAx
83 double lcl_IterateInverse( const ScDistFunc& rFunction, double fAx, double fBx, bool& rConvError ) in lcl_IterateInverse() argument
89 DBG_ASSERT(fAx<fBx, "IterateInverse: wrong interval"); in lcl_IterateInverse()
93 double fAy = rFunction.GetValue(fAx); in lcl_IterateInverse()
101 fTemp = fAx; in lcl_IterateInverse()
102 fAx += 2.0 * (fAx - fBx); in lcl_IterateInverse()
103 if (fAx < 0.0) in lcl_IterateInverse()
104 fAx = 0.0; in lcl_IterateInverse()
107 fAy = rFunction.GetValue(fAx); in lcl_IterateInverse()
112 fBx += 2.0 * (fBx - fAx); in lcl_IterateInverse()
113 fAx = fTemp; in lcl_IterateInverse()
120 return fAx; in lcl_IterateInverse()
130 double fPx = fAx; in lcl_IterateInverse()
134 double fRx = fAx; in lcl_IterateInverse()
136 double fSx = 0.5 * (fAx + fBx); // potential next point in lcl_IterateInverse()
140 (fBx-fAx) > ::std::max( fabs(fAx), fabs(fBx)) * fXEps ) in lcl_IterateInverse()
149 bHasToInterpolate = (fAx < fSx) && (fSx < fBx); // inside the brackets? in lcl_IterateInverse()
156 fSx = 0.5 * (fAx + fBx); in lcl_IterateInverse()
158 fPx = fAx; fPy = fAy; in lcl_IterateInverse()
172 fAx = fRx; fAy = fRy; in lcl_IterateInverse()