17 lines
385 B
C#
17 lines
385 B
C#
using BotSharp.Algorithm.HiddenMarkovModel.MathHelpers;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BotSharp.Algorithm.HiddenMarkovModel.MathUtils.SpecialFunctions
|
|
{
|
|
public class GammaFunction
|
|
{
|
|
public static double GetGamma(double x)
|
|
{
|
|
return System.Math.Exp(Gamma.Log(x));
|
|
}
|
|
}
|
|
}
|