Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstddef>
7 :
8 : /// \cond
9 : namespace Spectral {
10 : enum class Basis : uint8_t;
11 : } // namespace Spectral
12 : /// \endcond
13 :
14 : namespace Spectral {
15 : /*!
16 : * \brief Compute the normalization square of the basis function \f$\Phi_k\f$
17 : * (zero-indexed), i.e. the weighted definite integral over its square.
18 : */
19 : template <Basis BasisType>
20 1 : double compute_basis_function_normalization_square(size_t k);
21 : } // namespace Spectral
|