phys_581.testing
================

.. py:module:: phys_581.testing

.. autoapi-nested-parse::

   Tools for testing.



Classes
-------

.. autoapisummary::

   phys_581.testing.Functions


Module Contents
---------------

.. py:class:: Functions(L=1.0, eta=0.5)

   Various functions like f_η(x) used for testing in the documentation.

   This function is periodic with period `L`, :math:`C^∞`, analytic for `eta<1` and
   non-analytic for eta=1.

   .. attribute:: L

      Period.

      :type: float

   .. attribute:: eta

      Smoothness parameter.  eta=0 is a constant function, 0<eta<1 is analytic.  eta=1
      is :math:`C^∞` but non-analytic at the middle of the interval.

      :type: float


   .. py:attribute:: L
      :value: 1.0



   .. py:attribute:: eta
      :value: 0.5



   .. py:attribute:: k


   .. py:method:: f(x, d=0)

      Return the d'th derivative.



   .. py:method:: __call__(x, d=0)


