Beispiel #1
0
        public Polynome Derive()
        {
            Polynome p = new Polynome();

            for (int i = 1; i < Coefficients.Count; i++)
            {
                p.Coefficients.Add(Coefficients[i].Multiply(new ComplexNumber()
                {
                    Re = i
                }));
            }

            return(p);
        }
Beispiel #2
0
        public override void Prepare()
        {
            bmp   = new Bitmap(Width, Height);
            xstep = (xmax - xmin) / Width;
            ystep = (ymax - ymin) / Height;

            p.Coefficients.Add(new ComplexNumber()
            {
                Re = 1
            });
            p.Coefficients.Add(ComplexNumber.Zero);
            p.Coefficients.Add(ComplexNumber.Zero);
            p.Coefficients.Add(new ComplexNumber()
            {
                Re = 1
            });
            pd = p.Derive();
        }