lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5780] Improve documentation


From: Greg Chicares
Subject: [lmi-commits] [5780] Improve documentation
Date: Thu, 03 Oct 2013 23:02:21 +0000

Revision: 5780
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5780
Author:   chicares
Date:     2013-10-03 23:02:20 +0000 (Thu, 03 Oct 2013)
Log Message:
-----------
Improve documentation

Modified Paths:
--------------
    lmi/trunk/gpt_commutation_functions.hpp

Modified: lmi/trunk/gpt_commutation_functions.hpp
===================================================================
--- lmi/trunk/gpt_commutation_functions.hpp     2013-10-03 21:05:36 UTC (rev 
5779)
+++ lmi/trunk/gpt_commutation_functions.hpp     2013-10-03 23:02:20 UTC (rev 
5780)
@@ -36,8 +36,10 @@
 /// It is simpler to pass these data around as one "parameter object"
 /// than as separate parameters.
 ///
-/// Copying vectors into this struct doesn't cost much. The cost could
-/// be avoided by making them reference members.
+/// Copying vectors into this struct costs about four percent as much
+/// as constructing a gpt_cf_triad object (as the unit test shows).
+/// That cost could be avoided by making vector members references,
+/// but some flexibility and robustness would be lost.
 ///
 /// Mortality and interest rates could have been included. However,
 /// unlike other parameters, they may need various adjustments--e.g.,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]