aboutsummaryrefslogtreecommitdiff
path: root/src/jtutil/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtutil/README')
-rw-r--r--src/jtutil/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/jtutil/README b/src/jtutil/README
index 102e1b1..1b6ea5e 100644
--- a/src/jtutil/README
+++ b/src/jtutil/README
@@ -13,12 +13,15 @@ linear_map<fp>
is a template class (templated on the floating-point type)
representing a linear map between a contiguous interval of
integers, and floating-point numbers.
+
cpm_map<fp>
is a template class (templated on the floating-point type)
representing a mapping from the integers to the integers,
of the form i --> constant +/- i . (The name abbreviates
"Constant Plus or Minus MAP".)
+
fuzzy<fp>
+ (declarations in "util.hh")
is a template class (templated on the floating-point type)
providing fuzzy arithmetic, to try to paper over some of the
effects of floating-point rounding errors. For example,
@@ -30,8 +33,20 @@ fuzzy<fp>
and have the loop execute as one would naievly expect,
even if rounding errors cause the final value of \code{x}
to be 0.9999999999999999 or 1.000000000000001 or suchlike.
+
round<fp>
+ (declarations in "util.hh")
is a template class (templated on the floating-point type)
to do machine-independent rounding of floating point values
+norm<fp>
+ (declarations in "util.hh")
+ is a template class (templated on the floating-point type)
+ to the compute 2-, rms-, and/or infinity-norms of a set of
+ numbers
+
+miscfp.cc
+ (declarations in "util.hh")
+ contains various misc floating-point routines
+
There are also a number of test drivers in the files test_*.cc .