Exemplo n.º 1
0
        //生成一个从start到end的线性增长的X序列
        public static double[] GenerateData_Linear()
        {
            SequenceGenerOfLinear gener = new SequenceGenerOfLinear();

            new ConfiguratedByForm(gener);
            return(gener.CreateSequence());
        }
Exemplo n.º 2
0
        public static double[] GenerateData_Linear(double startNum, double endNum, double interval)
        {
            SequenceGenerOfLinear gener = new SequenceGenerOfLinear();

            gener.StartNum = startNum;
            gener.EndNum   = endNum;
            gener.Interval = interval;
            return(gener.CreateSequence());
        }