[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/eraseme_error 4d0358c 04/10: Rename an enumerati
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/eraseme_error 4d0358c 04/10: Rename an enumeration |
Date: |
Wed, 7 Jul 2021 06:22:13 -0400 (EDT) |
branch: odd/eraseme_error
commit 4d0358c0d9195e3ab270b723b4afc4a3e82eabd9
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Rename an enumeration
Soon it will contain techniques other than interpolation.
---
zero.hpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/zero.hpp b/zero.hpp
index 1a9f80b..f22db1c 100644
--- a/zero.hpp
+++ b/zero.hpp
@@ -40,7 +40,7 @@ enum root_bias
,bias_higher // Require 0.0 <= f(z).
};
-enum interpolation_technique
+enum root_technique
{interpolate_initialization
,interpolate_bisection0
,interpolate_linear
@@ -245,10 +245,10 @@ root_type lmi_root
,detail::RoundT round_dec = std::identity()
)
{
- constexpr double epsilon {std::numeric_limits<double>::epsilon()};
+ constexpr double epsilon {std::numeric_limits<double>::epsilon()};
- int n_iter {0};
- interpolation_technique technique {interpolate_initialization};
+ int n_iter {0};
+ root_technique technique {interpolate_initialization};
os_trace
<< "#eval"
@@ -500,8 +500,8 @@ double brent_zero
// machine precision and t is a positive tolerance. Assumes
// that f(a) and f(b) have different signs.
- int n_iter {0};
- interpolation_technique technique {interpolate_initialization};
+ int n_iter {0};
+ root_technique technique {interpolate_initialization};
os_trace
<< "#eval"
- [lmi-commits] [lmi] branch odd/eraseme_error created (now 69d06e9), Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error dd8fb62 01/10: Postpone consideration of NaN-valued objective functions, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 1dbe0b4 02/10: Refactor, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error a3f38b5 03/10: Refactor instrumented reference implementation, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 4d0358c 04/10: Rename an enumeration,
Greg Chicares <=
- [lmi-commits] [lmi] odd/eraseme_error 2870f56 05/10: Reenumerate root-finding techniques, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error b19754f 06/10: Show shifts in optional trace, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error dfd50b1 07/10: Find a root that coincides with an input bound, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error dec4d54 09/10: Rename operations, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 69d06e9 10/10: Attempt to find a problem, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error b862db3 08/10: Uniformly test two functions in parallel, Greg Chicares, 2021/07/07