Exemplo n.º 1
0
        private void PolynomDegree_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ParametersTable.Visibility = Visibility.Visible;

            var stringDegree = ((ComboBoxItem)e.AddedItems[0]).Content.ToString();

            operatingFunction = new FunctionPolynom(int.Parse(stringDegree));

            Plot.Focus();

            SetNewOperatingFunction();
        }
Exemplo n.º 2
0
        public override Function Copy()
        {
            var newFunction = new FunctionPolynom(degree, this.GetParametersValues());

            return(newFunction);
        }