Package it.unimi.di.prog2.h09
Class PolyClient
java.lang.Object
it.unimi.di.prog2.h09.PolyClient
A class to test some methods of
Poly
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PolyClient
private PolyClient().
-
-
Method Details
-
main
Tests thePoly.mul(Poly)
method.Starting from term \( t_0 = 1 \) reads a list \( t_i \) of terms from the standard input, given as a "coefficient degree" pairs, and computes the polynomial \( t_0 \cdot t_1 \cdot \cdots \), emitting in the standard output the pairs "coefficient degree" for every term in the result (in increasing order of degree).
- Parameters:
args
- not used.
-