[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ce789de 3/8: Treat 'AddonMonthlyFee' as a BOY
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ce789de 3/8: Treat 'AddonMonthlyFee' as a BOY vector |
Date: |
Thu, 9 Apr 2020 18:33:04 -0400 (EDT) |
branch: master
commit ce789ded35a02c3a9c7b72714407cd662be544e8
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Treat 'AddonMonthlyFee' as a BOY vector
LedgerInvariant::AddonMonthlyFee is actually additive, just as
LedgerVariant::PolicyFee is additive. It's a bit of a misnomer to
describe monthly deductions as BOY--they're really BOM--but the
distinction here is BOY versus EOY, where the significant contrast
is 'B' versus 'E', and the 'Y' doesn't really mean anything.
---
ledger_invariant.cpp | 2 +-
ledger_invariant.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 81a1b15..f581441 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -91,6 +91,7 @@ void LedgerInvariant::Alloc(int len)
BegYearVectors ["ModalMinimumPremium" ] = &ModalMinimumPremium ;
BegYearVectors ["EeModalMinimumPremium" ] = &EeModalMinimumPremium ;
BegYearVectors ["ErModalMinimumPremium" ] = &ErModalMinimumPremium ;
+ BegYearVectors ["AddonMonthlyFee" ] = &AddonMonthlyFee ;
EndYearVectors ["TermSpecAmt" ] = &TermSpecAmt ;
EndYearVectors ["SpecAmt" ] = &SpecAmt ;
@@ -101,7 +102,6 @@ void LedgerInvariant::Alloc(int len)
OtherVectors ["AnnualFlatExtra" ] = &AnnualFlatExtra ;
OtherVectors ["HoneymoonValueSpread" ] = &HoneymoonValueSpread ;
OtherVectors ["PartMortTableMult" ] = &PartMortTableMult ;
- OtherVectors ["AddonMonthlyFee" ] = &AddonMonthlyFee ;
OtherVectors ["AddonCompOnAssets" ] = &AddonCompOnAssets ;
OtherVectors ["AddonCompOnPremium" ] = &AddonCompOnPremium ;
OtherVectors ["CorridorFactor" ] = &CorridorFactor ;
diff --git a/ledger_invariant.hpp b/ledger_invariant.hpp
index 80c1fa1..9711664 100644
--- a/ledger_invariant.hpp
+++ b/ledger_invariant.hpp
@@ -79,6 +79,7 @@ class LMI_SO LedgerInvariant final
std::vector<double> ModalMinimumPremium;
std::vector<double> EeModalMinimumPremium;
std::vector<double> ErModalMinimumPremium;
+ std::vector<double> AddonMonthlyFee;
// EOY vectors.
std::vector<double> TermSpecAmt;
@@ -91,7 +92,6 @@ class LMI_SO LedgerInvariant final
std::vector<double> AnnualFlatExtra;
std::vector<double> HoneymoonValueSpread;
std::vector<double> PartMortTableMult;
- std::vector<double> AddonMonthlyFee;
std::vector<double> AddonCompOnAssets;
std::vector<double> AddonCompOnPremium;
std::vector<double> CorridorFactor;
- [lmi-commits] [lmi] master updated (655648d -> dfb045a), Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master 859240e 1/8: Remove unneeded assertion and conditional, Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master 840fd2f 4/8: Treat LedgerInvariant::Salary as forborne, Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master 07c029f 2/8: Improve documentation, Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master ce789de 3/8: Treat 'AddonMonthlyFee' as a BOY vector,
Greg Chicares <=
- [lmi-commits] [lmi] master 9cd8cf7 7/8: Refactor: composite 'OtherVectors' in LedgerBase::PlusEq(), Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master ab9d0d1 6/8: Truncate GPT corridor factors at maturity age [349], Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master 46b9de9 5/8: Regularize compositing of non-additive vectors, Greg Chicares, 2020/04/09
- [lmi-commits] [lmi] master dfb045a 8/8: Move a block of code, Greg Chicares, 2020/04/09