Lines Matching refs:fA
42 double ScInterpreter::GetGammaContFraction( double fA, double fX ) in GetGammaContFraction() argument
50 double fY = 1.0 - fA; in GetGammaContFraction()
51 double fDenom = fX + 2.0-fA; in GetGammaContFraction()
99 double ScInterpreter::GetGammaSeries( double fA, double fX ) in GetGammaSeries() argument
102 double fDenomfactor = fA; in GetGammaSeries()
103 double fSummand = 1.0/fA; 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()