Lines Matching refs:fX

42 double ScInterpreter::GetGammaContFraction( double fA, double fX )  in GetGammaContFraction()  argument
51 double fDenom = fX + 2.0-fA; in GetGammaContFraction()
53 double fPkm1 = fX + 1.0; in GetGammaContFraction()
56 double fQkm1 = fDenom * fX; in GetGammaContFraction()
57 double fQkm2 = fX; in GetGammaContFraction()
99 double ScInterpreter::GetGammaSeries( double fA, double fX ) in GetGammaSeries() argument
109 fSummand = fSummand * fX/fDenomfactor; in GetGammaSeries()
123 double ScInterpreter::GetLowRegIGamma( double fA, double fX ) in GetLowRegIGamma() argument
126 double fLnFactor = fA * log(fX) - fX - GetLogGamma(fA); in GetLowRegIGamma()
128 if (fX>fA+1.0) // includes fX>1.0; 1-GetUpRegIGamma, continued fraction in GetLowRegIGamma()
129 return 1.0 - fFactor * GetGammaContFraction(fA,fX); in GetLowRegIGamma()
131 return fFactor * GetGammaSeries(fA,fX); in GetLowRegIGamma()
135 double ScInterpreter::GetUpRegIGamma( double fA, double fX ) in GetUpRegIGamma() argument
139 double fLnFactor= fA*log(fX)-fX-GetLogGamma(fA); in GetUpRegIGamma()
141 if (fX>fA+1.0) // includes fX>1.0 in GetUpRegIGamma()
142 return fFactor * GetGammaContFraction(fA,fX); in GetUpRegIGamma()
144 return 1.0 -fFactor * GetGammaSeries(fA,fX); in GetUpRegIGamma()
150 double ScInterpreter::GetGammaDistPDF( double fX, double fAlpha, double fLambda ) in GetGammaDistPDF() argument
153 if (fX <= 0.0) in GetGammaDistPDF()
157 double fXr = fX / fLambda; in GetGammaDistPDF()
188 double ScInterpreter::GetGammaDist( double fX, double fAlpha, double fLambda ) in GetGammaDist() argument
191 if (fX <= 0.0) in GetGammaDist()
194 return GetLowRegIGamma( fAlpha, fX / fLambda); in GetGammaDist()