Class ApplyCompoundingFormula.ApplyCompoundingFormulaDefault
java.lang.Object
cdm.observable.asset.calculatedrate.functions.ApplyCompoundingFormula
cdm.observable.asset.calculatedrate.functions.ApplyCompoundingFormula.ApplyCompoundingFormulaDefault
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Enclosing class:
ApplyCompoundingFormula
public static class ApplyCompoundingFormula.ApplyCompoundingFormulaDefault
extends ApplyCompoundingFormula
-
Nested Class Summary
Nested classes/interfaces inherited from class cdm.observable.asset.calculatedrate.functions.ApplyCompoundingFormula
ApplyCompoundingFormula.ApplyCompoundingFormulaDefault -
Field Summary
Fields inherited from class cdm.observable.asset.calculatedrate.functions.ApplyCompoundingFormula
objectValidator, vectorGrowthOperation, vectorOperation, vectorScalarOperation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignOutput(CalculatedRateDetails.CalculatedRateDetailsBuilder results, List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> calculatedRate(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) doEvaluate(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> finalValue(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> growthCurve(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> growthFactors(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> overallYearFrac(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> scaledAndWeightedObservations(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> totalWeight(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> weightedObservations(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) Methods inherited from class cdm.observable.asset.calculatedrate.functions.ApplyCompoundingFormula
evaluateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Constructor Details
-
ApplyCompoundingFormulaDefault
public ApplyCompoundingFormulaDefault()
-
-
Method Details
-
doEvaluate
protected CalculatedRateDetails.CalculatedRateDetailsBuilder doEvaluate(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
doEvaluatein classApplyCompoundingFormula
-
assignOutput
protected CalculatedRateDetails.CalculatedRateDetailsBuilder assignOutput(CalculatedRateDetails.CalculatedRateDetailsBuilder results, List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) -
weightedObservations
protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> weightedObservations(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
weightedObservationsin classApplyCompoundingFormula
-
scaledAndWeightedObservations
protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> scaledAndWeightedObservations(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
scaledAndWeightedObservationsin classApplyCompoundingFormula
-
growthFactors
protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> growthFactors(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
growthFactorsin classApplyCompoundingFormula
-
growthCurve
protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> growthCurve(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
growthCurvein classApplyCompoundingFormula
-
finalValue
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> finalValue(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
finalValuein classApplyCompoundingFormula
-
totalWeight
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> totalWeight(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
totalWeightin classApplyCompoundingFormula
-
overallYearFrac
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> overallYearFrac(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
overallYearFracin classApplyCompoundingFormula
-
calculatedRate
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> calculatedRate(List<BigDecimal> observations, List<BigDecimal> weights, BigDecimal yearFrac) - Specified by:
calculatedRatein classApplyCompoundingFormula
-