public abstract class Coefficient extends Object
ArithmeticRuleExpression
.
Coefficient and its subclasses are composable to represent complex definitions. Its subclasses are defined as inner classes, because there are a lot of them and they are simple.
Constructor and Description |
---|
Coefficient() |
Modifier and Type | Method and Description |
---|---|
abstract double |
getValue(Map<SummationVariable,Integer> subs)
Get the value of a coefficient (which may require a reqursive descent).
|
abstract Coefficient |
simplify()
Get a simplified version of this Coefficient, the Coefficient itself if it cannot be simplified further.
|
public abstract double getValue(Map<SummationVariable,Integer> subs)
public abstract Coefficient simplify()
Copyright © 2018 University of California, Santa Cruz. All rights reserved.