C#,数值计算——数据建模State的计算方法与源程序

1 文本格式

using System;

namespace Legalsoft.Truffer
{
    public class State
    {
        public double lam1 { get; set; }
        public double lam2 { get; set; }
        public double tc { get; set; }
        public int k1 { get; set; }
        public int k2 { get; set; }
        public double plog { get; set; }

        public State()
        {
        }

        public State(double la1, double la2, double t, int kk1, int kk2)
        {
            this.lam1 = la1;
            this.lam2 = la2;
            this.tc = t;
            this.k1 = kk1;
            this.k2 = kk2;
        }
    }
}
 

2 代码格式

using System;

namespace Legalsoft.Truffer
{
    public class State
    {
        public double lam1 { get; set; }
        public double lam2 { get; set; }
        public double tc { get; set; }
        public int k1 { get; set; }
        public int k2 { get; set; }
        public double plog { get; set; }

        public State()
        {
        }

        public State(double la1, double la2, double t, int kk1, int kk2)
        {
            this.lam1 = la1;
            this.lam2 = la2;
            this.tc = t;
            this.k1 = kk1;
            this.k2 = kk2;
        }
    }
}

你可能感兴趣的:(C#数值计算,Numerical,Recipes,c#,开发语言,算法,数值计算)