[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a1d6c16 09/14: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a1d6c16 09/14: Improve documentation |
Date: |
Sun, 6 Sep 2020 07:50:38 -0400 (EDT) |
branch: master
commit a1d6c16b334bb5387535d948dd1c11f8225c4b3a
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Improve documentation
---
ihs_acctval.cpp | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index e14bc28..64c2b31 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -1433,14 +1433,16 @@ void AccountValue::SetAnnualInvariants()
/// Calculate and store actuarial functions for partial mortality.
///
-/// Iff partial mortality is used, save yearly values in a vector
-/// for use elsewhere in this class, and store yearly inforce lives
-/// (assuming no one ever lapses) in the invariant ledger object.
+/// Iff partial mortality is used, save qx, tpx, and lx in vectors
+/// for use elsewhere in this class and for compositing ledgers.
+/// The radix for lx is the number of identical lives that an input
+/// cell represents, and qx is forced to unity at the survivorship
+/// limit (if any). If partial mortality is not used, then qx is
+/// uniformly zero, tpx is one, and lx is the radix.
///
-/// A contract may be in force at the end of its maturity year,
-/// and it's necessary to treat it that way because other year-end
-/// composite values are multiplied by the number of lives inforce.
-/// Of course, a contract is not normally in force after maturity.
+/// Whether a contract continues after its normal maturity date does
+/// not matter. It is treated as not expiring on that date because
+/// year-end composite values are multiplied by this lx.
///
/// TODO ?? These actuarial functions may be thought of as
/// counting potential inforce lives: they do not reflect lapses.
- [lmi-commits] [lmi] master 14c2920 07/14: Factor out partial-mortality calculations, (continued)
- [lmi-commits] [lmi] master 14c2920 07/14: Factor out partial-mortality calculations, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 338d589 10/14: Call set_partial_mortality() OAOO, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 915e4ef 03/14: Avoid reading back from ledger in class AccountValue, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 540e3ca 04/14: Simplify, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 73d5f2b 06/14: Refactor for terseness, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 2bcf8d3 08/14: Move commentary outside function body, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 7b9b0cf 11/14: Resolve a marked defect [339], Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 3cbd888 12/14: Improve documentation, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 3ff6e18 13/14: Add and use trivial const accessors, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master 1f2d652 05/14: Calculate and store partial-mortality tpx along with lx, Greg Chicares, 2020/09/06
- [lmi-commits] [lmi] master a1d6c16 09/14: Improve documentation,
Greg Chicares <=
- [lmi-commits] [lmi] master 59860e3 14/14: Move partial mortality into base class, Greg Chicares, 2020/09/06