phys_581.example
================

.. py:module:: phys_581.example

.. autoapi-nested-parse::

   Example module with a simple function.



Functions
---------

.. autoapisummary::

   phys_581.example.differentiate_fft


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

.. py:function:: differentiate_fft(f, dx=1.0)

   Return the derivative of `f` using the FFT.

   :param f: 1D array with the function to be differentiated.
   :type f: array-like
   :param dx: Lattice spacing.
   :type dx: float


