non/spire — pull request #133 by jamesthompson (2013-08-07 23:16:55+00:00)
Title: Polynomials

Added Polynomial.scala : Containing (polynomial)Term case class & companion object, Polynomial case class & companion object, PolynomialRing trait and instances for Double and Rational.

Added PolynomialTest.scala : Contains rudimentary tests for Polynomial and associated stuff.

Polynomial currently based upon a concrete Long for the exponent type.