Plots of the first few Dirichlet kernels made with matplotlib. This function has a period of 2π.
<ul><li><a href="//commons.wikimedia.org/wiki/File:Dirichlet.png" title="File:Dirichlet.png">Dirichlet.png</a>: <a href="https://en.wikipedia.org/wiki/User:Libsteria" class="extiw" title="en:User:Libsteria">Libsteria</a></li>
<li>derivative work: <a href="//commons.wikimedia.org/wiki/User:Azaghal_of_Belegost" title="User:Azaghal of Belegost">Azaghal of Belegost</a></li></ul>
CC BY-SA 4.0
<a href="//commons.wikimedia.org/wiki/File:Dirichlet.png" title="File:Dirichlet.png">Dirichlet.png</a>