Class VectorGrowthOperation

java.lang.Object
cdm.base.math.functions.VectorGrowthOperation
All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
Direct Known Subclasses:
VectorGrowthOperation.VectorGrowthOperationDefault, VectorGrowthOperationImpl

public abstract class VectorGrowthOperation extends Object implements com.rosetta.model.lib.functions.RosettaFunction
  • Constructor Details

    • VectorGrowthOperation

      public VectorGrowthOperation()
  • Method Details

    • evaluate

      public List<BigDecimal> evaluate(BigDecimal baseValue, List<BigDecimal> factor)
      Parameters:
      baseValue - Original value, typically 1.0.
      factor - Vector of growth factors, which are all typically slightly greater than 1.0.
      Returns:
      result Result vector, showing all of the interim growth values
    • doEvaluate

      protected abstract List<BigDecimal> doEvaluate(BigDecimal baseValue, List<BigDecimal> factor)