コード例 #1
0
        // step 1,2,3
        public GompertzKramarService()
        {
            CDG = new List <ComposedDataGompertz>();
            var xls = XlsService.ReadXls();

            foreach (var xl in xls.Where(x => x.X != 0 && x.X != 109 && x.X != 108))
            {
                CDG.Add(new ComposedDataGompertz {
                    TableViewRaw = xl, mju = xl.Dx / xl.Lx, G = Math.Log(xl.Dx / xl.Lx)
                });
            }

            N = xls.Count;
        }
コード例 #2
0
 public MakehamComputingService()
 {
     RealData = XlsService.ReadXls();
 }
コード例 #3
0
 public GompertzComputingService()
 {
     RealData = XlsService.ReadXls();
 }