示例#1
0
    static void Main()
    {
        Poly test  = new Poly(new double[] { 6, 5, 0, 1, 6 });
        Poly test1 = new Poly(new double[] { 3, -4, -5 });

        test.Print();
        test1.Print();
        (test - test1).Print();
        (test + test1).Print();
        (test * test1).Print();
    }
 static void Main()
 {
     Poly test = new Poly(new double[] { 6,5, 0, 1 ,6});
     Poly test1 = new Poly(new double[] { 3, -4, -5 });
     test.Print();
     test1.Print();
     (test - test1).Print();
     (test + test1).Print();
     (test * test1).Print();
 }