case class Term[C](coeff: C, exp: Int) extends Product with Serializable
- Self Type
- Term[C]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Term
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Term(coeff: C, exp: Int)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def *(rhs: Term[C])(implicit r: Semiring[C]): Term[C]
- def +(rhs: Term[C])(implicit r: Semiring[C]): Term[C]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val coeff: C
- def der(implicit r: Ring[C]): Term[C]
- def divideBy(x: C)(implicit f: Field[C]): Term[C]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def eval(x: C)(implicit r: Semiring[C]): C
- val exp: Int
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def int(implicit f: Field[C]): Term[C]
- def isIndexZero: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isZero(implicit ring: Semiring[C], eq: Eq[C]): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Term → AnyRef → Any
- def toTuple: (Int, C)
- def unary_-(implicit r: Rng[C]): Term[C]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )