[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 9c580de 01/14: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 9c580de 01/14: Improve documentation |
Date: |
Thu, 18 Feb 2021 12:03:39 -0500 (EST) |
branch: master
commit 9c580de02766d2541766f2d36f4bf9826631f7cc
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Improve documentation
---
ihs_irc7702.cpp | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/ihs_irc7702.cpp b/ihs_irc7702.cpp
index 9463144..15ecfd7 100644
--- a/ihs_irc7702.cpp
+++ b/ihs_irc7702.cpp
@@ -476,21 +476,28 @@ void Irc7702::InitCommFns()
DEndt[Opt1Int6Pct] = CommFns[Opt1Int6Pct]->aDomega();
}
-//============================================================================
+/// Set GPT and CVAT corridor factors respecting IssueAge.
+///
+/// The GPT corridor is prescribed by statute.
+///
+/// The CVAT corridor is calculated as the reciprocal of NSP:
+/// 1 / NSP = Dx / (Mx + Domega)
+/// Consistent with '7702.html' [14.2] and Eckley's paper cited there,
+/// D is "annual", and M is "monthly", in the sense that "monthly"
+/// functions are "annual" times Eckley's "a''(12)" [his eq. 28]
+/// because UL mortality charges are assessed on a monthly basis.
+
void Irc7702::InitCorridor()
{
// TODO ?? Substandard: set last NSP to 1.0? ignore flats? set NSP[omega]
to 1?
// TAXATION !! --better to ignore susbstandard
- // TAXATION !! Explain a- vs k- prefixes on aD and kM.
- // CVAT corridor: 1 / NSP = D / (M + Domega)
CvatCorridor.resize(Length);
CvatCorridor +=
CommFns[Opt1Int4Pct]->aD()
/ (CommFns[Opt1Int4Pct]->kM() + DEndt[Opt1Int4Pct])
;
- // GPT corridor: prescribed by statute
GptCorridor.assign
(CompleteGptCorridor().begin() + IssueAge
,CompleteGptCorridor().begin() + EndtAge
- [lmi-commits] [lmi] master updated (f0a4840 -> 7dd2680), Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 2e84c56 03/14: Rearrange comments, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 5623352 06/14: Remove pointless assertions, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 140c288 05/14: Remove dead code [304], Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 3edb81f 12/14: Add and use a backward-summation function template, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master bff8d5b 04/14: Note a possible defect, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 387657b 08/14: Move assertions upward, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 074ed9e 07/14: Eliminate some local variables, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 18a189a 11/14: Remove duplicate assertions, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master cef60d4 09/14: Strengthen assertions, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 9c580de 01/14: Improve documentation,
Greg Chicares <=
- [lmi-commits] [lmi] master 80fce3e 02/14: Rename a member function for clarity, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 837c225 10/14: Sort assertions, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 0b76da4 13/14: Say why certain headers are included, Greg Chicares, 2021/02/18
- [lmi-commits] [lmi] master 7dd2680 14/14: Add and use a forward-summation function template, Greg Chicares, 2021/02/18