Esempio n. 1
0
        // static methods
        public static Monom <T> Multiply(Monom <T> first, Monom <T> second)
        {
            Monom <T> result = (Monom <T>)first.Clone();

            result.Multiply(second);
            return(result);
        }
Esempio n. 2
0
        public static Monom <T> Divide(Monom <T> first, Monom <T> second)
        {
            Monom <T> result = (Monom <T>)first.Clone();

            result.Divide(second);
            return(result);
        }
Esempio n. 3
0
        public static Monom <T> Negate(Monom <T> monom)
        {
            Monom <T> result = (Monom <T>)monom.Clone();

            result.InverseAdditive();
            return(result);
        }