operator *(
            double n,
            Polynomial polynomial
            )
        {
            Polynomial ret = new Polynomial(polynomial);

            ret.MultiplyInplace(n);
            return(ret);
        }
Example #2
0
 DivideInplace(
     double n
     )
 {
     denominator.MultiplyInplace(n);
 }
 /// <summary>
 /// Stretch a polynomial with a real number factor.
 /// </summary>
 public static Polynomial operator *(
     double n,
     Polynomial polynomial
     )
 {
     Polynomial ret = new Polynomial(polynomial);
     ret.MultiplyInplace(n);
     return ret;
 }
Example #4
0
 MultiplyInplace(
     double n
     )
 {
     numerator.MultiplyInplace(n);
 }