Update docs.
[pyutils.git] / src / pyutils / math_utils.py
index 2a56b634d063cc966a6569bd3dd9b4bb8700d076..dd8f33a2e4bf781b658d4ae7266e4a3035412dbb 100644 (file)
@@ -17,8 +17,8 @@ class NumericPopulation(object):
     """This object *store* a numerical population in a way that enables relatively
     fast addition of new numbers (:math:`O(2log_2 n)`) and instant access to the
     median value in the population (:math:`O(1)`).  It also provides other population
-    summary statistics such as the :meth:`mode`, :meth:`get_percentile` and
-    :meth:`stdev`.
+    summary statistics such as the :meth:`get_mode`, :meth:`get_percentile` and
+    :meth:`get_stdev`.
 
     .. note::
 
@@ -218,6 +218,7 @@ def truncate_float(n: float, decimals: int = 2):
 
     Args:
         n: the float to truncate
+        decimals: how many decimal places are desired?
 
     >>> truncate_float(3.1415927, 3)
     3.141