case class Polynomial(terms: CoeffMonomialList)(implicit ordering: MonomialOrdering = new DegenOrdering) extends Product with Serializable
INVARIANT: If t1 is before t2 in list, then t1 > t2
TODO: Fix zero-polynomial representation
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Polynomial
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Polynomial(terms: CoeffMonomialList)(implicit ordering: MonomialOrdering = new DegenOrdering)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(that: Polynomial): Polynomial
- def +(that: Polynomial): Polynomial
- def +(that: CoeffMonomial): Polynomial
- def -(that: Polynomial): Polynomial
- def -(that: CoeffMonomial): Polynomial
- def /(that: CoeffMonomial): Polynomial
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def commonFactor: Monomial
- def containsTerm(term: CoeffMonomial): Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- lazy val isConstant: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val isLinear: Boolean
- def isZero: Boolean
- def lcm(that: Polynomial): CoeffMonomial
- def lm: Monomial
- def lt: CoeffMonomial
- def mul(that: IdealInt): Polynomial
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def neg: Polynomial
- def normalized: Polynomial
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- lazy val order: Int
- implicit val ordering: MonomialOrdering
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reduceBy(that: Polynomial): Polynomial
- def simplifyBy(that: Polynomial): Polynomial
- def simplifyBy(reducers: (Monomial) => Option[Polynomial]): Polynomial
- def size: Int
- def spol(that: Polynomial): Polynomial
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val terms: CoeffMonomialList
- def toString(): String
- Definition Classes
- Polynomial → AnyRef → Any
- lazy val variables: Set[ConstantTerm]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)