Term

case class Term(scalar: Const, vars: Vector[Var]) extends Expression

Term is holding a coefficient and all variables which are involved in the product of the term.

scalar * (var_1 * ... * var_n)

trait Serializable
trait Product
trait Equals
trait LazyLogging
class Object
trait Matchable
class Any

Value members

Concrete methods

override def *(that: Expression): Expression
Definition Classes
override def toString: String
Definition Classes
Expression -> Any
override def unary_-: Expression
Definition Classes

Inherited methods

def +(that: Expression): Expression
Inherited from:
Expression
def -(that: Expression): Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
override def equals(obj: Any): Boolean
Value parameters:
obj

an object to compare

Returns:

true in case this object has identical constant and terms as the obj argument; false otherwise.

Definition Classes
Expression -> Any
Inherited from:
Expression
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

override val terms: LongDoubleMap

Inherited fields

val constant: Double
Inherited from:
Expression
@transient
lazy protected val logger: Logger
Inherited from:
LazyLogging