1 Introduction

If N basis functions are needed for a sufficiently accurate approximation in one dimension, then the naive extension to s dimensions is a tensor product of \(N^s\) basis functions. This exponential growth in terms is a show-stopper for high dimensional computing, but in many applications the expansion terms of a large number of these basis functions are insignificant, and can be omitted without serious degradation of the accuracy. For example, the hyperbolic cross approximation space (whose name refers to the shape of its Fourier index set) has been suggested as an alternative [1, 21, 23] for functions of bounded mixed derivatives.

Sampling grids and approximation spaces come in pairs, in the sense that one desires to be able to go quickly and accurately between function values and expansion coefficients. For hyperbolic cross approximation spaces, a specially tailored version of the FFT-algorithm is available [57] for sparse grids [1], but Kämmerer and Kunis prove in [9] that the condition number for computing expansion coefficients grows disturbingly with the number of grid points. Numerical experiments also show that the computational overhead is much higher for sparse grid FFT than for regular multidimensional FFT [13].

For trigonometric interpolation, lattice grids have been suggested as an alternative to sparse grids [8, 10, 11, 18]. By a simple variable transformation, sampling on lattice grids permits a standard multidimensional FFT-algorithm for computing the expansion coefficients [18], and the condition number of the matrix of the discrete Fourier transform grows only modestly [10] with the number of grid points.

For any combination of sampling grid and approximation space, the Lebesgue constant is a measure of the quality of this combination. One famous example is polynomial interpolation, which is terrible on the cartesian grid, but excellent on many different grids with grid points clustering near the end points of the interval. In this paper we study trigonometric interpolation on lattice grids in general, propose a conjecture regarding the Lebesgue constant of lattice grids, and conduct experiments indicating the behaviour of the Lebesgue constant for lattice grids and sparse grids. We believe that the modest growth of the Lebesgue constants of lattice grids explains why these grids seem excellent for trigonometric approximation.

In the current section we give the necessary background on multidimensional trigonometric interpolation, and introduce the Lebesgue constant. In Sect. 2 we compute the known Lebesgue constant for the cartesian grid in several dimensions. In Sects. 3 and 4 we discuss interpolation and Fast Fourier Transform on lattice grids. In Sect. 5 we illustrate our findings by numerical experiments.

Let \(\varOmega \) be a set of N grid points \(\mathbf{x}_j \in [0,1)^s\). We are interested in approximating a periodic function f on \([0,1)^s\) by an \(s-\)dimensional trigonometric polynomial

$$\begin{aligned} f(\mathbf{x}) \approx \sum _{\mathbf{k}\in S} c_\mathbf{k} e^{2\pi i \mathbf{k} \cdot \mathbf{x}}, \end{aligned}$$

such that

$$\begin{aligned} f(\mathbf{x}_j) = \sum _{\mathbf{k}\in S} c_\mathbf{k} e^{2\pi i \mathbf{k} \cdot \mathbf{x}_j} \quad \forall \;\mathbf{x}_j \in \varOmega . \end{aligned}$$
(1.1)

Here \(\mathbf{k} =(k_1,k_2,\ldots ,k_s)\) is a multi-index, commonly called wave numbers or Fourier indices, and \(S \subset \mathrm{Z}\!\mathrm{Z}^s\) is a finite set with \(|S|=N\). Associated with S is the approximation space \({\mathscr {H}}_S = \{ e^{2\pi i \mathbf{k} \cdot \mathbf{x}} \}_{\mathbf{k} \in S}\). We write

$$\begin{aligned} I f=\sum _{\mathbf{k}\in S} c_\mathbf{k} e^{2\pi i \mathbf{k} \cdot \mathbf{x}}, \end{aligned}$$

where I denotes the interpolation operator. The expansion coefficients \(c_\mathbf{k}\) are usually found by Fast Fourier Transform. If the system (1.1) is non-singular, the grid is said to be unisolvent with respect to \({\mathscr {H}}_S\). Approximation spaces of interest are:

  • The tensor product space: \(T^s_d= \{ \mathbf{k} | \parallel \mathbf{k} \parallel _{\infty } \le d\}\)

  • All trigonometric polynomials of degree d \(P^s_d= \{ \mathbf{k} | \parallel \mathbf{k} \parallel _1 \le d\}\)

  • The Dyadic hyperbolic cross \(H^s_d = \{ \mathbf{k} | \; k_i \in (-2^{j_i-1}, 2^{j_i-1}] \cap \mathrm{Z}\!\mathrm{Z}, \; \parallel \mathbf{j} \parallel _1 \le d\}\)

  • The Symmetric hyperbolic cross \(\tilde{H}^s_d = \{ \mathbf{k} | \; k_i \in [-2^{j_i-1}, 2^{j_i-1}] \cap \mathrm{Z}\!\mathrm{Z}, \; \parallel \mathbf{j} \parallel _1 \le d\}\).

Setting all \(c_\mathbf{k}=1\) for all \(\mathbf{k}\) defines an important function.

Definition 1.1

The Dirichlet kernel of S on \([0,1)^s\) is defined as

$$\begin{aligned} D_S(\mathbf{x}) = \sum _{\mathbf{k} \in S} e^{2 \pi i \mathbf{k \cdot x}}. \end{aligned}$$

Another useful tool for interpolation are the Lagrange functions.

Definition 1.2

Let \(\varOmega \) be a set of grid points, unisolvent with respect to \({\mathscr {H}}_S\). The Lagrange functions of \(\varOmega \) with respect to \({\mathscr {H}}_S\) are functions \(L_i(\mathbf{x}) \in {\mathscr {H}}_S\) satisfying

$$\begin{aligned} L_i(\mathbf{x}_j)=\delta _{ij}. \end{aligned}$$

If \(\varOmega \) is unisolvent with respect to \({\mathscr {H}}_S\), a set of N Lagrange functions can always be found, and the interpolation can be written \(If=\sum _{i=1}^N f(\mathbf{x}_i)L_i(\mathbf{x})\).

A basic question is how well the interpolant approximates the interpolated function. Let \(f^*\) be the best approximation of f onto \({\mathscr {H}}_S\). Since \(f^* \in {\mathscr {H}}_S\), we have

$$\begin{aligned} \parallel If - f \parallel \le \parallel I(f-f^*) \parallel + \parallel f-f^* \parallel \le (\parallel I \parallel + 1) \parallel f-f^* \parallel , \end{aligned}$$

and thus the norm of the interpolation operator tells us how far If is from the best approximation of f in \({\mathscr {H}}_S\). From the definition of operator norm it follows that

$$\begin{aligned} ||I||_{\infty }= & {} \max _{||f||_{\infty } = 1} ||If||_{\infty } = \max _{||f||_{\infty } = 1} \left[ \max _{\mathbf{x} \in [0,1]^s} |\sum _{i=1}^N f(\mathbf{x}_i) L_i(\mathbf{x})|\right] \\\le & {} \max _{||f||_{\infty } = 1}\left[ \max _{\mathbf{x} \in [0,1]^s} \sum _{i=1}^N |f(\mathbf{x}_i)| |L_i(\mathbf{x})|\right] = \max _{\mathbf{x} \in [0,1]^s} \sum _{i=1}^N |L_i(\mathbf{x})|. \end{aligned}$$

This motivates the definition of the Lebesgue constant.

Definition 1.3

Let \(\varOmega \) be a set of grid points, unisolvent with respect to \({\mathscr {H}}_S\), and with Lagrange functions \(L_i(\mathbf{x})\). The Lebesgue constant of \(\varOmega \) and \({\mathscr {H}}_S\) is

$$\begin{aligned} H=\max _{\mathbf{x} \in [0,1]^s} \sum _{i=1}^N |L_i(\mathbf{x})|. \end{aligned}$$

2 Dirichlet kernels and Lebesgue constants on equidistant grids

In this section we compute Lebesgue constants for some equidistant grids. These are known results, but we include them for completeness, and for the intuition these proofs provide regarding our conjecture in Sect. 3. It was shown by Ehlich and Zeller [4] that the Lebesgue constant for trigonometric interpolation at N equidistant nodes equals the Lebesgue constant for standard polynomial interpolation at the Chebyshev points (the zeroes of the Chebyshev polynomials), which are known to grow as \(\frac{2}{\pi } \log N + C\) where C is a small constant [14].

To construct Lagrange functions, we use the 1-dimensional Dirichlet kernel

$$\begin{aligned} D_n(x) = \sum _{k=-n}^n e^{\pi ikx} = \left\{ \begin{array}{ll} \frac{\sin \pi (2n+1)x}{\sin \pi x} &{} x \ne 0 \\ 2n+1 &{} x = 0 \end{array} \right. \end{aligned}$$

This function is periodic, continuous, and has the 2n zeros \(x_j = \frac{j}{(2n+1)}; \; j= 1,\ldots ,2n \) on the interval [0, 1), its interval of periodicity. Its global maximum is \(D_n(0) = 2n+1\). A simple scaling and translation thus creates trigonometric Lagrange functions on the grid points \(x_j = \frac{j}{(2n+1)}; \; j= 0,\ldots ,2n\),

$$\begin{aligned} L_j(x) = \frac{1}{2n+1} D_n(x - x_j). \end{aligned}$$

On this grid the Lebesgue constant then becomes

$$\begin{aligned} H = \frac{1}{2n+1} \max _{x \in [0,1]} \sum _{j=0}^{2n} |D_n(x-x_j)|. \end{aligned}$$

Theorem 2.1

For trigonometric interpolation on the \(N=2n+1\) grid points \(x_{j}=\frac{j}{(2n+1)}\; j= 0,\ldots ,2n\) on [0, 1), the Lebesgue constant is bounded by \(H < \frac{\pi +4}{\pi } + \frac{2}{\pi }\log N\).

Proof

From

$$\begin{aligned} \left| \frac{1}{\sin \pi x} \right| \le \left| \frac{1}{\pi x}\right| ; \quad 0 < |x| \le 1, \end{aligned}$$

and a bit of elementary calculus it follows that

$$\begin{aligned} |D_n(x)| \le \left\{ \begin{array}{ll} 2n+1 &{}\quad \text{ for }\quad |x| < \frac{1}{4n+2}\\ \frac{1}{\pi |x|} &{}\quad \text{ for }\quad |x| \ge \frac{1}{4n+2}\\ \end{array}\right. \end{aligned}$$
(2.1)

Since \(D_n(x)\) is 1-periodic, and \(D_n(x-x_j)\) is defined by a regular shift of \(x_j = j/(2n+1)\), the sum \(\sum _{j=-n}^n |D(x-x_j)|\) is \(\frac{1}{2n+1}\)-periodic, and we can write

$$\begin{aligned} H= & {} \frac{1}{2n+1} \max _{x \in [0,1]} \sum _{j=0}^{2n} |D_n(x-x_j)|\\= & {} \frac{1}{2n+1} \max _{x \in [-1/2,1/2]} \sum _{j=-n}^{n} |D_n(x-x_j)| \\= & {} \frac{1}{2n+1} \max _{x \in \left[ -\frac{1}{4n+2},\frac{1}{4n+2}\right] } \sum _{j=-n}^{n} |D_n(x -x_j)| \\\le & {} \frac{1}{2n+1} \sum _{j=-n}^{n} \max _{x \in \left[ -\frac{1}{4n+2},\frac{1}{4n+2}\right] }|D_n(x -x_j)|. \end{aligned}$$

For \(j=0,\,D_n(0)=2n+1\) is the maximum value. For \(j \ne 0\), bounds can be established by writing

$$\begin{aligned} \max _{x \in \left[ -\frac{1}{4n+2},\frac{1}{4n+2}\right] }|D_n(x -x_j)|=\max _{x \in \left[ x_{j}-\frac{1}{4n+2},x_{j}+\frac{1}{4n+2}\right] }|D_n(x)|, \end{aligned}$$

and using (2.1) evaluated at the interval endpoint closest to the origin,

$$\begin{aligned} D_n\left( \frac{2|j|-1}{4n+2}\right) \le \frac{1}{\pi } \frac{4n+2}{2|j|-1}=\frac{2}{\pi } \frac{2n+1}{2|j|-1}. \end{aligned}$$

We can now write

$$\begin{aligned} H\le & {} \frac{1}{2n+1} \sum _{j=-n}^n \max _{x \in [-\frac{1}{4n+2},\frac{1}{4n+2}]}|D_n(x -x_j)|\\\le & {} 1 + \frac{2}{2n+1}\frac{2}{\pi }\sum _{j=1}^n \frac{2n+1}{2j-1}\\< & {} 1 + \frac{4}{\pi }+ \frac{4}{\pi } \int _1^n \frac{1}{2x-1} dx = 1 + \frac{4}{\pi }+ \frac{2}{\pi }\log (2n-1)< \frac{\pi +4}{\pi }+\frac{2}{\pi }\log N, \end{aligned}$$

where we have used that \(|D_n(x-x_j)|=|D_n(x-x_{-j})|\). \(\square \)

In general it is difficult to find closed form expressions for the Dirichlet kernel in several dimensions, but it is easy to show that \(D_{T^s_d}\) factors into s univariate Dirichlet kernels. Lagrange functions can thus be constructed for the Cartesian grid by scaling and translation, and an application of the above theorem gives the following corollary.

Corollary 2.1

For the Cartesian grid on \([0,1)^s\), with N grid points in each direction, the Lebesgue constant for interpolation in \(T^s_d\) satisfies

$$\begin{aligned} H < \left( \frac{\pi +4}{\pi }+\frac{2}{\pi }\log N\right) ^s. \end{aligned}$$

3 Interpolation on lattice grids

An s-dimensional lattice \(\varLambda \) is simply the integer linear combinations of s linearly independent basis vectors. Arranging these vectors as rows in a matrix A, we have

$$\begin{aligned} \varLambda = \left\{ \mathbf{x} \; | \; \mathbf{x}^T = \mathbf{\lambda }^T A , \; \mathbf{\lambda } \in \mathrm{Z}\!\mathrm{Z}^{s}\right\} . \end{aligned}$$
(3.1)

The matrix A is called a generator matrix for \(\varLambda \). If \(\varLambda \) is periodic on \([0,1)^{s}\), the lattice will be denoted an integration lattice [19].

Associated with every lattice is the dual lattice, \(\varLambda ^{\perp }\), defined by

$$\begin{aligned} \mathbf{k} \in \varLambda ^{\perp } \Leftrightarrow \mathbf{k \cdot x} \in \mathrm{Z}\!\mathrm{Z}\quad \forall \; \mathbf{x}\in \varLambda . \end{aligned}$$

The dual lattice is itself a lattice, and has \(B=(A^{-1})^T\) as a generator matrix. If \(\varLambda \) is an integration lattice, then \(\varLambda ^{\perp }\) is an integer lattice, B is an integer matrix [15], and the number of lattice points in \([0,1)^s\) is \(N= |\det (B)|\).

An alternative form for describing an integration lattice is by its tZ - form [16]. Let \(Z =(\mathbf{z}_1| \cdots |\mathbf{z}_t) \in \mathrm{Z}\!\mathrm{Z}^{s \times t}\) and \(D = \text{ diag }(d_1,\ldots ,d_t) \in \mathrm{I}\!\mathrm{N}^{t \times t};\; d_i > 1, i=1,\ldots ,t\). Then

$$\begin{aligned} \mathbf{x} \in \varLambda \Leftrightarrow \mathbf{x} = \left\{ Z D^{-1} \mathbf{j}\right\} ; \; \mathbf{j}\in \mathrm{Z}\!\mathrm{Z}^t . \end{aligned}$$

By the notation \(\{ \mathbf{x} \}\) we understand the fractional part of x. With this form the lattice points in \(\varLambda \cap [0,1)^s\) can be written

$$\begin{aligned} \mathbf{x_j} = \left\{ \sum _{i=1}^t j_i \frac{\mathbf{z}_i}{d_i} \right\} . \end{aligned}$$

If \(d_{i+1}/d_i \in \mathrm{I}\!\mathrm{N}\) and \(N=\prod _{i=i}^{t}d_{i}t,\,t\) coincide with the rank of the lattice rule [16]. Consequently if N is prime there is a tZ-form with \(t=1\).

Two Fourier modes \(e^{2\pi i \mathbf{k}\cdot \mathbf{x}}\) and \(e^{2\pi i \mathbf{h}\cdot \mathbf{x}}\) will be indistinguishable on the lattice grid points if \(\mathbf{k} - \mathbf{h} \in \varLambda ^{\perp }\). This phenomenon is called aliasing.

Definition 3.1

For a given integration lattice \(\varLambda \), a non-aliasing index set is a set \(S \in \mathrm{Z}\!\mathrm{Z}^s\) of order N such that if k, h \(\in S\) and \(\mathbf{k} \ne \mathbf{h}\) then \(\mathbf{k} - \mathbf{h} \notin \varLambda ^{\perp }\).

Lemma 3.1

Let \(\varLambda \) be an integration lattice with N points in \([0,1)^s\), where N is prime. Let \(\mathbf{z, k, h} \in \mathrm{Z}\!\mathrm{Z}^s/\{0\}\), with \( \frac{\mathbf{z}}{N} \in \varLambda \cap [0,1)^s\). Then

$$\begin{aligned} \mathbf{k}\cdot \mathbf{z} \pmod N = \mathbf{h} \cdot \mathbf{z} \pmod N \Leftrightarrow \mathbf{k-h} \in \varLambda ^{\perp } \end{aligned}$$

Proof

First, a simple computation yields

$$\begin{aligned} {\mathbf{k}}\cdot {\mathbf{z}} \pmod N= & {} {\mathbf{h}} \cdot {\mathbf{z}} \pmod N \\&\Updownarrow&\\ ({\mathbf{k}}-{\mathbf{h}})\cdot {\mathbf{z}} \pmod N= & {} 0\\&\Updownarrow&\\ ({\mathbf{k}}-{\mathbf{h}})\cdot {\mathbf{z}}= & {} N m; \; m\in \mathrm{Z}\!\mathrm{Z}\\&\Updownarrow&\\ ({\mathbf{k}}-{\mathbf{h}})\cdot \frac{\mathbf{z}}{N}= & {} m; \; m\in \mathrm{Z}\!\mathrm{Z}. \end{aligned}$$

By the definition of dual lattices, \(({\mathbf{k-h}}) \in \varLambda ^\perp \) implies that \( ({\mathbf{k-h}})\cdot \frac{\mathbf{z}}{N} \) is an integer, and hence \( {\mathbf{k}}\cdot {\mathbf{z}} \pmod N = {\mathbf{h}} \cdot {\mathbf{z}} \pmod N\). Conversely, if \( {\mathbf{k}}\cdot {\mathbf{z}} \pmod N = {\mathbf{h}} \cdot {\mathbf{z}} \pmod N\), then \( ({\mathbf{k-h}})\cdot \frac{\mathbf{z}}{N} = m; \; m\in \mathrm{Z}\!\mathrm{Z}\). We have to prove that this implies \(({\mathbf{k-h}}) \in \varLambda ^\perp \). Since N is prime, \({\mathbf{z}}/N\) may be used as generator for \(\varLambda \) (this is not true for any lattice point \({\mathbf{z}}/N\) unless N is prime), and the lattice points in \([0,1)^s\) may be written

$$\begin{aligned} \left\{ j\frac{\mathbf{z}}{N}\right\} =j\frac{\mathbf{z}}{N}-\left\lfloor j\frac{\mathbf{z}}{N} \right\rfloor ; \quad j=0,\cdots ,N-1. \end{aligned}$$

But

$$\begin{aligned} \left( j\frac{\mathbf{z}}{N}-\left\lfloor j\frac{\mathbf{z}}{N} \right\rfloor \right) \cdot (\mathbf{k-h})=jm-\left\lfloor j\frac{\mathbf{z}}{N} \right\rfloor \cdot (\mathbf{k-h}) \end{aligned}$$

is an integer for all j, and hence \(\mathbf{k-h} \in \varLambda ^\perp \). \(\square \)

For a function f with convergent Fourier series it follows that for \(\mathbf{x}_j \in \varLambda \) and S a non-aliasing index set, we have:

$$\begin{aligned} f(\mathbf{x}_j)= & {} \sum _{\mathbf{k} \in \mathrm{Z}\!\mathrm{Z}^s} c_\mathbf{k} e^{2 \pi i \mathbf{k} \cdot \mathbf{x}_j} \\= & {} \sum _{\mathbf{k} \in S} \sum _{\mathbf{m} \in \varLambda ^{\perp }/{0}} c_\mathbf{k+m} e^{2 \pi i \mathbf{(k+m)} \cdot \mathbf{x}_j} \\= & {} \sum _{\mathbf{k} \in S} \tilde{c}_\mathbf{k} e^{2 \pi i \mathbf{k} \cdot \mathbf{x}_j}, \end{aligned}$$

where

$$\begin{aligned} \tilde{c}_\mathbf{k} = \sum _{\mathbf{m} \in \varLambda ^{\perp }\backslash \{0\}}c_\mathbf{k+m}. \end{aligned}$$
(3.2)

This generalizes the standard result for trigonometric interpolation to functions sampled on lattice grids.

Theorem 3.1

The trigonometric interpolating polynomial on a non-aliasing index set S is

$$\begin{aligned} p(\mathbf{x}) =\sum _{\mathbf{k} \in S} \tilde{c}_\mathbf{k} e^{2 \pi i \mathbf{k} \cdot \mathbf{x}}, \end{aligned}$$

where \( \tilde{c}_\mathbf{k}\) is defined by Eq. 3.2.

Definition 3.2

(A lattice interpolation space) \({\mathscr {H}}_S\) is the space spanned by \(\{e^{2 \pi i \mathbf{k \cdot x}}\}_\mathbf{k} \in S\), where S satisfies Definition 3.1.

The following theorem proves that if N is prime, we can use shifted Dirichlet kernels as Lagrange functions for interpolation on the corresponding lattice grid.

Theorem 3.2

If \(\mathbf{x}_{j}\) and \(\mathbf{x}_{l}\) are lattice points on an integration lattice \(\varLambda \), with N points in \([0,1)^s,\,N\) being prime, and \({\mathscr {H}}_S\) is the associated lattice interpolation space as defined in Definition 3.1, then

$$\begin{aligned} \frac{1}{N} D_S(\mathbf{x}_{j} - \mathbf{x}_{l}) = \delta _{jl}. \end{aligned}$$

Proof

Since any linear combination of lattice points is also a lattice point, we have \(\mathbf{x}_j -\mathbf{x}_l =\mathbf{z}/N\), where \(\mathbf{z} \in \mathrm{Z}\!\mathrm{Z}^s\). Thus \(\mathbf{k}\cdot (\mathbf{x}_{j} - \mathbf{x}_{l})=\mathbf{k}\cdot \mathbf{z}/N = \frac{m}{N}\) for all \(\mathbf{k} \in S\), and we can write

$$\begin{aligned} D_S(\mathbf{x}_{j} - \mathbf{x}_{l}) = \sum _{\mathbf{k} \in S}e^{2 \pi i \mathbf{k}\cdot ( \mathbf{x}_{j}-\mathbf{x}_{l})} = \left\{ \begin{array}{ll} N &{} \; j=l \\ \sum \nolimits _{m=0}^{N-1} e^{\frac{2 \pi i m}{N}} = 0 &{} \; j \ne l \end{array} \right. \end{aligned}$$

The lower entry on the right is a finite geometric sum, since the complex exponentials take at most N different values (by construction \(N = |S|\)), and none of the m’s are equal (mod N) (due to Lemma 3.1). \(\square \)

Remark 3.1

This theorem holds for general lattices, but cannot be proved with Lemma 3.1, since this does not hold unless N is prime. The general proof requires an approach based on group theory. We will describe this approach and present the general version of the theorem in a forthcoming paper.

Corollary 3.1

For a given integration lattice \(\varLambda \) and a non-aliasing index set, a complete set of Lagrange functions for trigonometric interpolation on \({\mathscr {H}}_S\) is

$$\begin{aligned} L_j(\mathbf{x}) = \frac{1}{N} D_S(\mathbf{x} - \mathbf{x}_j) \quad \forall \mathbf{x}_j \in \varLambda \cup [0,1)^s. \end{aligned}$$

The expression for the Lebesgue constant can now be written

$$\begin{aligned} H = \frac{1}{N} \max _{\mathbf{x} \in [0,1]^s} \sum _{\mathbf{x}_j \in \varLambda \cap [0,1)^s } |D_S(\mathbf{x} - \mathbf{x}_j)|. \end{aligned}$$

Since every Lagrange function is a shifted Dirichlet kernel, computing H is equivalent to summing the local maxima of one Dirichlet kernel over the N unit cells of the lattice. Thus we have

$$\begin{aligned} H = \frac{1}{N} \sum _{U} \max _{\mathbf{x} \in U}|D_S(\mathbf{x})|, \end{aligned}$$

where U is the parallellotope defined by \(2^{s}\) adjacent lattice points. The last sum can be interpreted as an upper Riemann sum of the integral \(\int _{[0,1]^s} |D_S(\mathbf{x})|\), which gives the following lower bound on H

$$\begin{aligned} H > \int _{[0,1]^s} |D_S(\mathbf{x})| d\mathbf{x} = ||D_S(\mathbf{x})||_1. \end{aligned}$$

Similarly, we conjecture that the total volume of N ‘hyperpyramids’ with base U

$$\begin{aligned} \frac{1}{(1+s)N} \sum _{U} \max _{\mathbf{x} \in U}|D_S(\mathbf{x})| \end{aligned}$$

is a lower bound for \(||D_S(\mathbf{x})||_1\), leading to the following bounds on H

$$\begin{aligned} ||D_S(\mathbf{x})||_1 \le H \le (s+1) ||D_S(\mathbf{x})||_1. \end{aligned}$$
(3.3)

In Travaglini [22] proved the following bounds on the Dirichlet kernel for convex polyhedral interpolation spaces

$$\begin{aligned} C_1 (\ln N)^s \le ||D_S(\mathbf{x})||_1 \le C_2 (\ln N)^s. \end{aligned}$$
(3.4)

Here \(C_1, C_2\) are constants depending on s, but not on N . Combining (3.3) and (3.4) establishes the following conjecture.

Conjecture 3.1

The Lebesgue constant for trigonometric interpolation on a lattice grid \(\varLambda \) onto an associated non-aliasing interpolation space \({\mathscr {H}}_S\), is bounded by

$$\begin{aligned} \tilde{C}_1 (\ln N)^s \le H \le \tilde{C}_2 (\ln N)^s. \end{aligned}$$

We now proceed to the practical contruction of non-aliasing index sets for integration lattices.

Theorem 3.3

Let \(\varLambda \) be the integration lattice generated by \(A,\,\varLambda ^T\) generated by \(A^T\) and \(B=(A^T)^{-1}\). Then the set

$$\begin{aligned} S=\left\{ \mathbf{k}\; : \; \mathbf{k}=B^T \mathbf{x}\quad \forall \;\mathbf{x} \in \varLambda ^T \cap [0,1)^s\right\} \end{aligned}$$

is a non-aliasing index set for \(\varLambda \).

Proof

By (3.1) \(\mathbf{k}=B^T\mathbf{x} = B^T A \lambda \), so \(\mathbf{k}\) is an integer vector. Since B is non-singular and \(|\det B|=|\det B^T|\), there are N different \(\mathbf{k}\) in S. Next let \(\mathbf{k, h} \in S\). If \(\mathbf{k}-\mathbf{h} \in \varLambda ^{\perp }\), then \(\mathbf{k}-\mathbf{h}=B^T\lambda \) for some \(\mathbf{\lambda } \in \mathrm{Z}\!\mathrm{Z}^s\), and consequently \(A(\mathbf{k}-\mathbf{h}) \in \mathrm{Z}\!\mathrm{Z}^s\). But by construction \(A\mathbf{k}, A\mathbf{h} \in [0,1)^s\), so \(A(\mathbf{k}-\mathbf{h}) \in (-1,1)^s\), and as A is non-singular, we have \(\mathbf{k}=\mathbf{h}\). \(\square \)

It easy to see that translation of all of S does not destroy its non-aliasing property. For practical applications, one would like the index set to be centered about the origin. Let m be the integer vector with components \(m_i = \lfloor (\max _{\mathbf{k} \in S}{k_i}+\min _{\mathbf{k} \in S}{k_i})/2 \rfloor ; \; i=1,\ldots s\). We construct an origin centered index set \(S_O\) by

$$\begin{aligned} S_O = \{\mathbf{k'} : \, \mathbf{k'} = \mathbf{k - m}, \; \mathbf{k} \in S\}. \end{aligned}$$

Note that the interpolation space, as defined by \(S_O\), is not unique, since the choice of generator matrix is not unique. If U is a unimodular matrix, then UB generates the same dual lattice as B, but a different non-aliasing set. An illustration of \(S_O\) for different choices of B is shown in Fig. 1. A generator matrix for the integration lattice shown in the left frame is

$$\begin{aligned} A = \frac{1}{144}\left( \begin{array}{c@{\quad }c} 1 &{} 55 \\ 0 &{} 144 \end{array} \right) , \end{aligned}$$

while two different generator matrices for the dual lattice are

$$\begin{aligned} B_1 = \left( \begin{array}{r@{\quad }c} 34 &{} 2 \\ -55 &{} 1 \end{array} \right) \quad \text{ and } \quad B_2 = \left( \begin{array}{r@{\quad }c} -8&{} 8\\ 13&{} 5 \end{array} \right) . \end{aligned}$$

Note that the transposed lattice \(\varLambda ^T\) of Theorem 3.3 changes with B.

Fig. 1
figure 1

In the left frame we display the rank-1 lattice generated by \(\mathbf{z} = (1,55);\; N= 144\). In the middle frame we display the index set corresponding to \(B_1\) while in the right frame we show the index set corresponding to \(B_2\)

As illustrated in the figure, S-domains obtained using Theorem 3.3 are always parallellotopes, being affine mappings of the unit cube. If one wishes instead to mimic the spaces listed in Sect. 1, a simple greedy algorithm can be utilized to produce an interpolation space \({\mathscr {H}}_{\varLambda }\) containing any specific space as a sub-space. Given a lattice, choose N non-aliasing points \(\mathbf{k} \in \mathrm{Z}\!\mathrm{Z}^{s} \) of increasing order. If we want S to mimic a hyperbolic cross we use the “Zaremba”-index \(\rho (\mathbf{k}) = \prod _{i=1}^s \max (1,|k_i|)\) as the ordering criterion. Choosing the 1-norm \(||\mathbf{k}||_1 = \sum _{i=1}^s |k_i|\) as ordering criterion, gives an index-space resembling \(P_d^s\). These two ordering criterions are illustrated in Fig. 2, where we display two different versions of S for the lattice of Fig. 1. None of these sets are unique, as there are many integer points having equal Zaremba index or 1-norm.

Fig. 2
figure 2

In this figure we show two different index spaces for the lattice of Fig. 1. In the left frame the selection criterion has been the Zaremba-index, while in the right frame we have used the trigonometric degree

4 FFT on lattice grids

On equidistant s-dimensional Cartesian grid, the standard multi-dimensional FFT-algorithm provides fast and stable computation of the Fourier coefficients. On lattice grids, the FFT-algorithm is readily available, see [18]. We include it for completeness. Utilizing the tZ-form, the Fourier coefficients can be written

$$\begin{aligned} \widehat{f}(\mathbf{k})= & {} \frac{1}{N} \sum _{\mathbf{x}\in \varLambda \cap [0,1)^s} f(\mathbf{x}) e^{-2\pi i \mathbf{k \cdot x}}; \quad \mathbf{k}\in S \\= & {} \frac{1}{N} \sum _{\mathbf{j}\in \mathrm{Z}\!\mathrm{Z}_D } f(\mathbf{x_j}) e^{-2\pi i \mathbf{k}^TZD^{-1}\mathbf{j}}; \quad \mathbf{k}\in S \\= & {} \frac{1}{N} \sum _{\mathbf{j}\in \mathrm{Z}\!\mathrm{Z}_D } f(\mathbf{x_j}) e^{-2\pi i \mathbf{m}^T D^{-1}\mathbf{j}}= \widehat{f}(\mathbf{m}); \quad \mathbf{m}\in \mathrm{Z}\!\mathrm{Z}_D, \end{aligned}$$

Here \(\mathrm{Z}\!\mathrm{Z}_D = \mathrm{Z}\!\mathrm{Z}_{d_1} \times \cdots \times \mathrm{Z}\!\mathrm{Z}_{d_t}\) where \(\mathrm{Z}\!\mathrm{Z}_{d_i} = \{0,1,\ldots ,d_i-1\},\,\mathbf{x_j} = ZD^{-1}\mathbf{j}\) and

$$\begin{aligned} \mathbf{m} = Z^T\mathbf{k} + D\mathbf{l} \quad \text{ for } \text{ some } \mathbf{l} \in \mathrm{Z}\!\mathrm{Z}^t. \end{aligned}$$
(4.1)

The expression for \(\widehat{f}(\mathbf{m})\) is a standard t-dimensional DFT, straightforwardly computed by your favorite FFT-algorithm. The components are identified by the m-index which are related to the k-index by the relation (4.1).

5 Numerical experiments

In this section we present some computational results in 2D and 3D. In Fig. 3 we show an estimate of the Lebesgue constants for lattice grids compared to sparse grids as a function of interpolation points. An estimate for the Lebesgue constant is obtained by evaluating the Lagrange functions on a fine grid. In 2D we have used the rank-1 lattices generated by \(\mathbf{z} = [1, 2d-1]\) and \(N=2d^2\); \(d=2:2:24\). These are known to be optimal lattices for the space \(P_d^s\) [2]. In 3D we have used lattices optimized for the space \(P_d^s\), based on skew-circulant generator matrices[17]. For the computation of sparse grids and hyperbolic spaces we have used the matlab package nhcfft-0.91 freely available from TU-Chemnitz [3].

Fig. 3
figure 3

Estimate of Lebesgue constants for lattice grid and sparse grid. 2D in left frame and 3D to the right. For comparison we have plotted the curves \((\log n)^s\) and \(c_s(\log n)^s\), where \(c_2=3, c_3 = 10\) and \(n = N^{(1/s)}\). N being the number of grid points

We note that in 2D as well in 3D the Lebesgue constant is significantly lower for lattice grids than for sparse grids. The Lebesgue constant seems for both grids to grow as \(C_s (\log n)^s\), with lattice grids having significantly lower constant \(C_s\).

To test the quality of the interpolation we have used the following test functions:

$$\begin{aligned} f_1(\mathbf{x})= & {} \prod _{j=1}^s (x_j-1)^2 x_{j}^2 \\ f_2(\mathbf{x})= & {} \prod _{j=1}^s (e^{\sin 2\pi x_j}-1)\\ g_p(\mathbf{x})= & {} \prod _{j=1}^s \left( 2+\text {sgn}\left( x_j-\frac{1}{2}\right) \left( \sin 2\pi x_j\right) ^p\right) ; \; p=1,2,3. \end{aligned}$$

The first two are found in [18], while the family \(g_p\) is a scaled version of the family used for testing sparse grid interpolation in [6]. Note that in each direction the periodic extension of \(f_1(x_i)\) is in \(C^3(\mathbbm {R})\) while \(f_2(x_i)\) is in \(C^{\infty }(\mathbbm {R})\) and \(g_p(x_i)\) is in \(C^p(\mathbbm {R})\). Since the asymptotic behavior of the Fourier coefficients of a one dimensional \(C^p(\mathbbm {R})\) function is \(c_k \sim |k|^{-(p+1)}\), the s-dimensional coefficient will behave as \(c_\mathbf{k} = \prod _{i=1}^s c_{k_i} \sim \left( \prod _{i=1}^s |k_i|\right) ^{-(p+1)}\) for our functions, assuming all \(k_i \ne 0\). This indicates that the hyperbolic cross is a good approximation space for product functions in \(C^p(R)\), and we expect the sparse grid to work very well in this case. When \(f \in C^{\infty }(R)\) the decay rate for the 1-dimensional Fourier coefficients is exponential: \(|c_k| \sim a^{|k|}; \; 0<a<1\). The corresponding \(s-\)dimensional coefficient is \(c_\mathbf{k} = \prod _{i=1}^s c_{k_i} \sim \prod _{i=1}^s a^{|k_i|} = a^{||\mathbf{k}||_1}\), and in this case \(P_d^s\) should be a better approximation space.

Fig. 4
figure 4

A comparison of the relative interpolation error for \(f_1\) when sampled on a lattice grid and on a sparse grid. Left 2D and right 3D

Fig. 5
figure 5

A comparison of the relative interpolation error for \(f_2\) when sampled on a lattice grid and on a sparse grid. Left 2D and right 3D

The errors reported in Figs. 4, 5, 6, 7 are estimates of

$$\begin{aligned} \textit{Err}(f) = \frac{|| f(\mathbf{x}) - Lf(\mathbf{x})||_{\infty }}{|| f(\mathbf{x}) ||_{\infty }} \end{aligned}$$

computed by evaluating the exact value of \(f_i\) as well as the approximation on a fine, regular Cartesian grid.

Fig. 6
figure 6

A comparison of the relative interpolation error for \(g_p\) in 2D when sampled on a lattice grid and on a sparse grid. The value used for p is: \(p=1,2,3\)

Fig. 7
figure 7

A comparison of the relative interpolation error for \(g_p\) in 3D when sampled on a lattice grid and on a sparse grid. The value used for p is: \(p=1,2,3\)

When comparing these results we have to keep in mind that the interpolation spaces are slightly different for the two grid types; for sparse grids we have used a dyadic hyperbolic cross, while for lattice grids we have used spaces which embed the largest possible symmetric hyperbolic cross. Nevertheless we find these results encouraging; lattice grids seem to perform similarly to, or better than, sparse grids for these examples, reflecting the fact that it has significantly lower Lebesgue constant.

Where lattice grids really outperforms sparse grid is for \(f_2\). As explained above we contribute this to the fact that this function is in \(C^{\infty }(R)\). This is the same effect as seen for the test function \(g_p\). Increasing p means increasing the smoothness which should favor lattice grids.

s

Lattice grid

Sparse grid

 

N

Err(f)

H

N

Err(f)

H

2

4001

\( 4.9 10^{-7}\)

26.4

6144

\( 4.1 10^{-8}\)

61.0

3

4001

\( 2.6 10^{-4}\)

31.2

4096

\( 2.6 10^{-4}\)

235.9

4

4001

\( 1.1 10^{-3}\)

33.8

4048

\( 8.6 10^{-2}\)

623.3

5

4001

\( 7.8 10^{-3}\)

34.7

2972

1.04

1027.9

6

4001

\( 1.1 10^{-1}\)

37.8

5336

1.05

2504.0

Our brute force approach for estimating the error and the Lebesgue constant becomes very expensive for large numbers of lattice points. This limits our possibilities for extensive experiments in higher dimensions. We have run some limited experiments where we have kept the number of lattice points constant and compared it with sparse grid interpolation of approximately the same size. The lattice rules we have used are rank-1 lattices constructed by the component-by-component technique introduced by Sloan and Reztsov [20]. Our lattices are those reported by Kuo et al. [12]. We have also restricted us to test function \(f_1\) only. The results are reported in the table above. The most remarkable difference is the minor increase in Lebesgue constants for lattice grids, as opposed to the disturbing growth for sparse grids. We believe this to be the main reason why the relative error is smaller for lattice grids than sparse grids.

6 Conclusion

In this paper we have constructed non-aliasing interpolation spaces and Lagrange functions for lattice grids. Our family of approximation spaces does not include the hyperbolic cross, which is the natural Fourier index set for approximating functions with bounded mixed derivatives, but a simple greedy algorithm allows us to embed the hyperbolic cross as a sub-space in our interpolation spaces.

Both lattice grids and sparse grids seem to have quasi optimal Lebesgue constants.The quality of the lattice interpolation appears to be better than that of sparse grid interpolation, especially in several dimensions, as measured by estimation of the Lebesgue constant as well as in approximation of test functions.