static Dagostino() { table = SearchTable <int, int, string> .Load(MathyContext.PathResolver.GetTablesFilePath("dagostino.txt")).Map(i => { string[] sections = i.Split('~').Select(j => j.Trim()).ToArray(); return(new Tuple <float, float>(float.Parse(sections[0]), float.Parse(sections[1]))); }); }
static F() { table1 = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("f1.txt")); table5 = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("f5.txt")); }
static Shapiro() { tableAlpha = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("shapiro-alpha.txt")); tableW = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("shapiro-w.txt")); }
static Grubbs() { table = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("grubbs.txt")); }
static Dixon() { table = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("dixon.txt")); }
static Cochran() { table1 = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("cochran1.txt")); table5 = SearchTable <int, int, float> .Load(MathyContext.PathResolver.GetTablesFilePath("cochran5.txt")); }