eu.bandm.sig.semantics
Class DimensionEvaluator
java.lang.Object
eu.bandm.sig.semantics.DimensionEvaluator
- All Implemented Interfaces:
- Function<Dimension,PolynomialDimension>
public class DimensionEvaluator
- extends Object
- implements Function<Dimension,PolynomialDimension>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
multiplication
public static final Monoid<PolynomialDimension,PolynomialDimension> multiplication
DimensionEvaluator
public DimensionEvaluator()
unit
public static PolynomialDimension unit(SimpleDimension r)
inverse
public static PolynomialDimension inverse(PolynomialDimension x)
multiply
public static PolynomialDimension multiply(PolynomialDimension x,
PolynomialDimension y)
power
public PolynomialDimension power(PolynomialDimension x,
Rational r)
apply
public PolynomialDimension apply(Dimension d)
- Specified by:
apply
in interface Function<Dimension,PolynomialDimension>