Class SparsePolyClient

java.lang.Object
it.unimi.di.prog2.h10.SparsePolyClient

public class SparsePolyClient extends Object
A class to test some methods of SparsePoly.
  • Constructor Details

    • SparsePolyClient

      private SparsePolyClient()
      .
  • Method Details

    • main

      public static void main(String[] args)
      Tests some methods of SparsePoly.

      Starting from term \( t_0 = x + 1 \) reads a list of \( t_i \) of terms from the standard input, given as a (coefficient, degree) pairs, and computes the polynomials \( p_{i+1} = p_i \codt t_i + t_i \) emitting the last computed polynomial in the standard output.

      Parameters:
      args - not used.