24 lines
696 B
C#
24 lines
696 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
|
|||
|
|
namespace BotSharp.Algorithm.HiddenMarkovModel.MathUtils
|
|||
|
|
{
|
|||
|
|
public class Constants
|
|||
|
|
{
|
|||
|
|
/// <summary>Maximum log on the machine.</summary>
|
|||
|
|
public const double LogMax = 7.09782712893383996732E2;
|
|||
|
|
|
|||
|
|
/// <summary>Square root of 2: sqrt(2).</summary>
|
|||
|
|
public const double Sqrt2 = 1.4142135623730950488016887;
|
|||
|
|
|
|||
|
|
/// <summary>Square root of twice number pi: sqrt(2*π).</summary>
|
|||
|
|
public const double Sqrt2PI = 2.50662827463100050242E0;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>Log of number pi: log(pi).</summary>
|
|||
|
|
public const double LogPI = 1.14472988584940017414;
|
|||
|
|
}
|
|||
|
|
}
|