Arithmetic
============================

.. currentmodule:: pyo

Tools to perform arithmetic operations on audio signals.

Objects in this category
------------------------------

- :py:class:`Sin` :     Performs a sine function on audio signal.
- :py:class:`Cos` :     Performs a cosine function on audio signal.
- :py:class:`Tan` :     Performs a tangent function on audio signal.
- :py:class:`Tanh` :     Performs a hyperbolic tangent function on audio signal.
- :py:class:`Abs` :     Performs an absolute function on audio signal.
- :py:class:`Sqrt` :     Performs a square-root function on audio signal.
- :py:class:`Log` :     Performs a natural log function on audio signal.
- :py:class:`Log2` :     Performs a base 2 log function on audio signal.
- :py:class:`Log10` :     Performs a base 10 log function on audio signal.
- :py:class:`Atan2` :     Computes the principal value of the arc tangent of b/a.
- :py:class:`Floor` :     Rounds to largest integral value not greater than audio signal.
- :py:class:`Ceil` :     Rounds to smallest integral value greater than or equal to the input signal.
- :py:class:`Round` :     Rounds to the nearest integer value in a floating-point format.
- :py:class:`Pow` :     Performs a power function on audio signal.
- :py:class:`Exp` :     Calculates the value of e to the power of x.
- :py:class:`Div` :     Divides a by b.
- :py:class:`Sub` :     Substracts b from a.

*Sin*
----------

.. autoclass:: Sin
   :members:

   .. autoclasstoc::

*Cos*
------------

.. autoclass:: Cos
   :members:

   .. autoclasstoc::

*Tan*
------------

.. autoclass:: Tan
   :members:

   .. autoclasstoc::

*Tanh*
------------

.. autoclass:: Tanh
   :members:

   .. autoclasstoc::

*Abs*
------------

.. autoclass:: Abs
   :members:

   .. autoclasstoc::

*Sqrt*
------------

.. autoclass:: Sqrt
   :members:

   .. autoclasstoc::

*Log*
------------

.. autoclass:: Log
   :members:

   .. autoclasstoc::

*Log2*
------------

.. autoclass:: Log2
   :members:

   .. autoclasstoc::

*Log10*
------------

.. autoclass:: Log10
   :members:

   .. autoclasstoc::

*Atan2*
------------

.. autoclass:: Atan2
   :members:

   .. autoclasstoc::

*Floor*
------------

.. autoclass:: Floor
   :members:

   .. autoclasstoc::

*Ceil*
------------

.. autoclass:: Ceil
   :members:

   .. autoclasstoc::

*Round*
------------

.. autoclass:: Round
   :members:

   .. autoclasstoc::

*Pow*
------------

.. autoclass:: Pow
   :members:

   .. autoclasstoc::

*Exp*
------------

.. autoclass:: Exp
   :members:

   .. autoclasstoc::

*Div*
------------

.. autoclass:: Div
   :members:

   .. autoclasstoc::

*Sub*
------------

.. autoclass:: Sub
   :members:

   .. autoclasstoc::
