public Wyniki(int f, double[] x, double[] y) { InitializeComponent(); Utworz(x.Length); PrzepisXY(x, y); dX = new double[x.Length]; dY = new double[x.Length]; dF = new double[x.Length]; X = x; Y = y; Oblicz.Count(x, y, f, ref Xsr, ref Ysr, ref dX, ref dY, ref dF, ref Fsr); PrzepiszReszte(dX, dY, dF); XsrBox.Text = Xsr.ToString(); YsrBox.Text = Ysr.ToString(); FsrBox.Text = Fsr.ToString(); WynikBox.Text = XD(f).ToString(); }
public Wyniki2(int f, double[] x, double[] y) { InitializeComponent(); Utworz(x.Length); PrzepisX(x); double[] dX = new double[x.Length]; double[] dY = new double[x.Length]; double[] dF = new double[x.Length]; double Xsr = 0; double Ysr = 0; double Fsr = 0; Oblicz.Count(x, y, f, ref Xsr, ref Ysr, ref dX, ref dY, ref dF, ref Fsr); PrzepiszReszte(dX, dF); XsrBox.Text = Xsr.ToString(); FsrBox.Text = Fsr.ToString(); }