[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master bb21c29 06/11: Expatiate less garrulously
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master bb21c29 06/11: Expatiate less garrulously |
Date: |
Thu, 1 Jul 2021 20:19:04 -0400 (EDT) |
branch: master
commit bb21c29631c3acf98a208e1587cbf5b682620c71
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Expatiate less garrulously
---
zero.hpp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/zero.hpp b/zero.hpp
index e16a4e8..50a2b9d 100644
--- a/zero.hpp
+++ b/zero.hpp
@@ -249,13 +249,15 @@ root_type decimal_root
os_trace.precision(DECIMAL_DIG);
+ os_trace << "iteration, technique, x, fx\n";
+
auto expatiate = [&](double x, double fx)
{
os_trace
- << "iteration " << n_iter
- << " " << "IBLQb"[technique]
- << " iterand " << x
- << " value " << fx
+ << n_iter
+ << ' ' << "IBLQb"[technique]
+ << ' ' << x
+ << ' ' << fx
<< std::endl
;
};
- [lmi-commits] [lmi] master updated (04ec593 -> a03c499), Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master e73bc36 01/11: Use mathematical symbols in comments, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master 7b7d039 02/11: Include appropriate headers, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master b4dd6cf 09/11: Suspend investigation of wikipedia example, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master bb21c29 06/11: Expatiate less garrulously,
Greg Chicares <=
- [lmi-commits] [lmi] master 172f4ab 04/11: Separate incrementation from expatiation, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master 3975592 07/11: Expatiate more informatively, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master a7d0900 10/11: Don't assume every function has a root at the origin, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master 620dfec 03/11: Don't test good() explicitly, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master 2a75758 05/11: Expatiate by lambda, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master 4249bab 08/11: Find zeros of two more functions, Greg Chicares, 2021/07/01
- [lmi-commits] [lmi] master a03c499 11/11: Find roots of several functions, Greg Chicares, 2021/07/01