1 write to _logFactorialCache
Microsoft.ML.Core (1)
Utilities\MathUtils.cs (1)
357_logFactorialCache = new List<double>(LogFactorialCacheSize);
7 references to _logFactorialCache
Microsoft.ML.Core (7)
Utilities\MathUtils.cs (7)
355if (_logFactorialCache == null) 358_logFactorialCache.Add(0); 359_logFactorialCache.Add(0); 362for (int i = _logFactorialCache.Count; i <= n; i++) 364_logFactorialCache.Add(_logFactorialCache[i - 1] + Math.Log(i)); 367return _logFactorialCache[n];