Skip to content

Commit

Permalink
deploy: 36ce533
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 2, 2024
1 parent 7d331af commit 971857e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -896,9 +896,11 @@ <h2 id="with-helpers"><a class="header" href="#with-helpers">With helpers</a></h
#pragma once

#include &lt;cmath&gt;
#include &lt;halp/modules.hpp&gt;

#include &lt;ratio&gt;

HALP_MODULE_EXPORT
namespace halp
{

Expand Down Expand Up @@ -960,10 +962,11 @@ <h1 id="helpers"><a class="header" href="#helpers">Helpers</a></h1>
#pragma once

#include &lt;cmath&gt;
#include &lt;halp/modules.hpp&gt;

HALP_MODULE_EXPORT
namespace halp
{
static const constexpr double pi = 3.141592653589793238462643383279502884;

// A basic smooth specification
template &lt;int T&gt;
Expand All @@ -980,6 +983,7 @@ <h1 id="helpers"><a class="header" href="#helpers">Helpers</a></h1>
template &lt;int T&gt;
struct exp_smooth
{
static const constexpr double pi = 3.141592653589793238462643383279502884;
static constexpr auto ratio(double sample_rate) noexcept
{
return std::exp(-2. * pi / (T * 1e-3 * sample_rate));
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions writing_processors/ports.metadatas.mapping.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,11 @@ <h2 id="with-helpers"><a class="header" href="#with-helpers">With helpers</a></h
#pragma once

#include &lt;cmath&gt;
#include &lt;halp/modules.hpp&gt;

#include &lt;ratio&gt;

HALP_MODULE_EXPORT
namespace halp
{

Expand Down
4 changes: 3 additions & 1 deletion writing_processors/ports.metadatas.smooth.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,11 @@ <h1 id="helpers"><a class="header" href="#helpers">Helpers</a></h1>
#pragma once

#include &lt;cmath&gt;
#include &lt;halp/modules.hpp&gt;

HALP_MODULE_EXPORT
namespace halp
{
static const constexpr double pi = 3.141592653589793238462643383279502884;

// A basic smooth specification
template &lt;int T&gt;
Expand All @@ -223,6 +224,7 @@ <h1 id="helpers"><a class="header" href="#helpers">Helpers</a></h1>
template &lt;int T&gt;
struct exp_smooth
{
static const constexpr double pi = 3.141592653589793238462643383279502884;
static constexpr auto ratio(double sample_rate) noexcept
{
return std::exp(-2. * pi / (T * 1e-3 * sample_rate));
Expand Down

0 comments on commit 971857e

Please sign in to comment.