Class Polys

java.lang.Object
it.unimi.di.prog2.h08.Polys

public class Polys extends Object
A collection of methods for Polys.
  • Constructor Details

    • Polys

      private Polys()
  • Method Details

    • diff

      public static Poly diff(Poly p) throws NullPointerException
      Returns the derivative of the given polynomial.
      Parameters:
      p - the polynomial to differentiate.
      Returns:
      the derivative of p.
      Throws:
      NullPointerException - if p is null.