.. _f-weightednumbercpython-39-x8664-linux-gnu: module ``numbers.weighted_number`` ================================== Short summary +++++++++++++ module ``cpyquickhelper.numbers.weighted_number`` Implements operations on weighted numbers. :githublink:`%|py|0` Classes +++++++ +---------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +=================================================================================+=========================================================================================================+ | :class:`WeightedDouble ` | Implements a weighted double used to speed up computation with aggregation. It contains two attributes: | +---------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+ | :class:`WeightedFloat ` | Implements a weighted float used to speed up computation with aggregation. It contains two attributes: | +---------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +-------------------------------------------------------------------------------+------------------------------------+ | property | truncated documentation | +===============================================================================+====================================+ | :meth:`value ` | unweighted numeric value (counter) | +-------------------------------------------------------------------------------+------------------------------------+ | :meth:`value ` | unweighted numeric value (counter) | +-------------------------------------------------------------------------------+------------------------------------+ | :meth:`weight ` | weight | +-------------------------------------------------------------------------------+------------------------------------+ | :meth:`weight ` | weight | +-------------------------------------------------------------------------------+------------------------------------+ Documentation +++++++++++++ .. automodule:: cpyquickhelper.numbers.weighted_number :members: :special-members: __init__ :show-inheritance: