BotSharp/BotSharp.Algorithm/HiddenMarkovModel/MathUtils/SpecialFunctions/GammaFunction.cs
2018-09-17 07:31:54 -05:00

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));
}
}
}