public class ConstantNumber extends Coefficient
Modifier and Type | Field and Description |
---|---|
protected double |
value |
Constructor and Description |
---|
ConstantNumber(double value) |
Modifier and Type | Method and Description |
---|---|
double |
getValue(Map<SummationVariable,Integer> subs)
Get the value of a coefficient (which may require a reqursive descent).
|
Coefficient |
simplify()
Get a simplified version of this Coefficient, the Coefficient itself if it cannot be simplified further.
|
String |
toString() |
public double getValue(Map<SummationVariable,Integer> subs)
Coefficient
getValue
in class Coefficient
public Coefficient simplify()
Coefficient
simplify
in class Coefficient
Copyright © 2018 University of California, Santa Cruz. All rights reserved.