Home
last modified time | relevance | path

Searched refs:logFactorial (Results 1 – 25 of 34) sorted by relevance

12

/dports/science/colt/colt/src/cern/jet/random/
H A DHyperGeometric.java67 …return(Arithmetic.logFactorial(k) + Arithmetic.logFactorial(M - k) + Arithmetic.logFactorial(n - k… in fc_lnpk()
95 …fm = Math.exp(Arithmetic.logFactorial(N - M) - Arithmetic.logFactorial(N_Mn + m) - Arithmetic.logF… in hmdu()
96 + Arithmetic.logFactorial(M) - Arithmetic.logFactorial(M - m) - Arithmetic.logFactorial(m) in hmdu()
97 …- Arithmetic.logFactorial(N) + Arithmetic.logFactorial(N - n) + Arithmetic.logFactorial(n) … in hmdu()
H A DPoisson.java96 return Math.exp(k * l_nu - Arithmetic.logFactorial(k) - c_pm); in f()
206 c_pm = m * l_my - Arithmetic.logFactorial(m); in nextInt()
289 if (Math.log(W) <= X * l_my - Arithmetic.logFactorial(X) - c_pm) return(X); in nextInt()
300 return Math.exp(k*Math.log(this.mean) - Arithmetic.logFactorial(k) - this.mean); in pdf()
H A DBinomial.java273 …return Math.exp(this.log_n - Arithmetic.logFactorial(k) - Arithmetic.logFactorial(r) + this.log_p … in pdf()
288 this.log_n = Arithmetic.logFactorial(n); in setNandP()
/dports/biology/star/STAR-2.7.9a/source/
H A DSoloFeature_emptyDrops_CR.cpp9 …e, const uint32 shift, const int64 start, const uint32 nGenes, const vector<double> &logFactorial);
137 vector<double> logFactorial; //tabulate log-factorial in emptyDrops_CR() local
138 logFactorial.resize(indCount[iCandFirst].count+1); in emptyDrops_CR()
139 logFactorial[1]=0; in emptyDrops_CR()
140 for (uint32 cc=2; cc<logFactorial.size(); cc++) in emptyDrops_CR()
141 logFactorial[cc]=logFactorial[cc-1]+std::log(cc); in emptyDrops_CR()
145 …ride, pSolo.umiDedup.countInd.main, countCellGeneUMIindex[icell], nGenePerCB[icell], logFactorial); in emptyDrops_CR()
218 …de, const uint32 shift, const int64 start, const uint32 nGenes, const vector<double> &logFactorial) in logMultinomialPDFsparse() argument
225 sumLogFac += logFactorial[count1]; in logMultinomialPDFsparse()
229 return logFactorial[sumCount] - sumLogFac + sumCountLogP; in logMultinomialPDFsparse()
/dports/finance/quantlib/QuantLib-1.20/ql/math/distributions/
H A Dpoissondistribution.hpp112 Real logFactorial = Factorial::ln(k); in operator ()() local
113 return std::exp(k*std::log(mu_) - logFactorial - mu_); in operator ()()
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/math-functions-0.3.4.1/
H A Dchangelog.md23 * `logFactorial` is optimized a bit (less number of terms is used)
123 * Precision of `logFactorial` is slightly improved.
147 * logFactorial type is genberalized. It accepts any `Integral` type
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/math-functions-0.3.4.1/
H A Dchangelog.md23 * `logFactorial` is optimized a bit (less number of terms is used)
123 * Precision of `logFactorial` is slightly improved.
147 * logFactorial type is genberalized. It accepts any `Integral` type
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/math-functions-0.3.4.2/
H A Dchangelog.md29 * `logFactorial` is optimized a bit (less number of terms is used)
129 * Precision of `logFactorial` is slightly improved.
153 * logFactorial type is genberalized. It accepts any `Integral` type
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/math-functions-0.3.4.2/
H A Dchangelog.md29 * `logFactorial` is optimized a bit (less number of terms is used)
129 * Precision of `logFactorial` is slightly improved.
153 * logFactorial type is genberalized. It accepts any `Integral` type
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/math-functions-0.3.4.2/
H A Dchangelog.md29 * `logFactorial` is optimized a bit (less number of terms is used)
129 * Precision of `logFactorial` is slightly improved.
153 * logFactorial type is genberalized. It accepts any `Integral` type
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/math-functions-0.3.4.2/
H A Dchangelog.md29 * `logFactorial` is optimized a bit (less number of terms is used)
129 * Precision of `logFactorial` is slightly improved.
153 * logFactorial type is genberalized. It accepts any `Integral` type
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/math-functions-0.3.4.1/Numeric/
H A DSpecFunctions.hs40 , logFactorial
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/math-functions-0.3.4.2/Numeric/
H A DSpecFunctions.hs40 , logFactorial
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/math-functions-0.3.4.1/Numeric/
H A DSpecFunctions.hs40 , logFactorial
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/math-functions-0.3.4.2/Numeric/
H A DSpecFunctions.hs40 , logFactorial
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/math-functions-0.3.4.2/Numeric/
H A DSpecFunctions.hs40 , logFactorial
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/math-functions-0.3.4.2/Numeric/
H A DSpecFunctions.hs40 , logFactorial
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/mwc-random-0.15.0.1/System/Random/MWC/
H A DCondensedTable.hs42 import Numeric.SpecFunctions (logFactorial)
242 pMax = exp $ fromIntegral nMax * log lam - lam - logFactorial nMax
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/mwc-random-0.15.0.1/System/Random/MWC/
H A DCondensedTable.hs42 import Numeric.SpecFunctions (logFactorial)
242 pMax = exp $ fromIntegral nMax * log lam - lam - logFactorial nMax
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/mwc-random-0.14.0.0/System/Random/MWC/
H A DCondensedTable.hs43 import Numeric.SpecFunctions (logFactorial)
245 pMax = exp $ fromIntegral nMax * log lam - lam - logFactorial nMax
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/math-functions-0.3.4.1/tests/Tests/
H A DSpecFunctions.hs82 let exact = logFactorial (n-1)
167 (logFactorial (fromIntegral n :: Int))
173 (show i) (logFactorial (round i :: Int)) exact
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/math-functions-0.3.4.1/tests/Tests/
H A DSpecFunctions.hs82 let exact = logFactorial (n-1)
167 (logFactorial (fromIntegral n :: Int))
173 (show i) (logFactorial (round i :: Int)) exact
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/math-functions-0.3.4.2/tests/Tests/
H A DSpecFunctions.hs96 let exact = logFactorial (n-1)
190 (logFactorial (fromIntegral n :: Int))
196 (show i) (logFactorial (round i :: Int)) exact
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/math-functions-0.3.4.2/tests/Tests/
H A DSpecFunctions.hs96 let exact = logFactorial (n-1)
190 (logFactorial (fromIntegral n :: Int))
196 (show i) (logFactorial (round i :: Int)) exact
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/math-functions-0.3.4.2/tests/Tests/
H A DSpecFunctions.hs96 let exact = logFactorial (n-1)
190 (logFactorial (fromIntegral n :: Int))
196 (show i) (logFactorial (round i :: Int)) exact

12