[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 0b76da4 13/14: Say why certain headers are in
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 0b76da4 13/14: Say why certain headers are included |
Date: |
Thu, 18 Feb 2021 12:03:42 -0500 (EST) |
branch: master
commit 0b76da49b84b75087820ae2b9f2eeeacec8a8cf8
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Say why certain headers are included
---
commutation_functions_test.cpp | 2 +-
ihs_basicval.cpp | 6 +++---
print_matrix.hpp | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/commutation_functions_test.cpp b/commutation_functions_test.cpp
index dc922bc..aba09cd 100644
--- a/commutation_functions_test.cpp
+++ b/commutation_functions_test.cpp
@@ -32,7 +32,7 @@
#include <algorithm> // max()
#include <cmath> // fabs()
-#include <functional> // bind()
+#include <functional> // bind(), ref()
#include <iomanip> // setw() etc.
#include <ios> // ios_base::fixed()
#include <numeric> // partial_sum()
diff --git a/ihs_basicval.cpp b/ihs_basicval.cpp
index 3ae1bf5..34fe93b 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -55,12 +55,12 @@
#include "stratified_charges.hpp"
#include "value_cast.hpp"
-#include <algorithm>
+#include <algorithm> // min(), transform()
#include <cfenv> // fesetround()
#include <cmath> // nearbyint(), pow()
-#include <functional> // multiplies
+#include <functional> // minus, multiplies
#include <limits>
-#include <numeric>
+#include <numeric> // accumulate(), partial_sum()
#include <stdexcept>
//============================================================================
diff --git a/print_matrix.hpp b/print_matrix.hpp
index 6398e42..1c115da 100644
--- a/print_matrix.hpp
+++ b/print_matrix.hpp
@@ -28,10 +28,10 @@
#include "ssize_lmi.hpp"
#include "value_cast.hpp"
-#include <algorithm>
-#include <functional>
+#include <algorithm> // remove_copy()
+#include <functional> // multiplies
#include <iterator> // back_inserter()
-#include <numeric>
+#include <numeric> // partial_sum()
#include <ostream>
#include <string>
#include <vector>
- [lmi-commits] [lmi] master 140c288 05/14: Remove dead code [304], (continued)
- [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, 2021/02/18
- [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 <=
- [lmi-commits] [lmi] master 7dd2680 14/14: Add and use a forward-summation function template, Greg Chicares, 2021/02/18