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); }
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(); }