Definitions and Notation:
Fix a positive constant $M>0$ with positive integers $m,n$ and the standard orthonormal basis $e_1,\dots,e_n$ of $\mathbb{R}^n$.
For every positive integer $N$, define the class $\mathcal{H}^{(m,n,N)}$ of piecewise constant functions of the form
$$ \sum_{j=1}^N\, k_j\cdot \prod_{i=1}^n I_{[a_{i,j},b_{i,j}]}\big(\langle x,e_i\rangle\big), $$ where $k_1,\dots,k_N\in \mathbb{R}^m$.
Question:
- At what rate can $\mathcal{H}^{(m,n,N)}$ approximate continuous functions? I am looking for a rate $r>0$ such that for every sufficiently large $N$, and for every uniformly continuous $f:[-M,M]^n\rightarrow \mathbb{R}^m$ with modulus of continuity $\omega$, $$ \inf_{h\in \mathcal{H}^{(m,n,N)}}\, \sup_{x\in [-M,M]^n}\, \|h(x)-f(x)\|_2 < cN^{-r} $$ where $c$ may depend on $M,m,n,\omega$ but is independent of $f$ and $N$.
- Can we achieve a better rate if $f \in C^k(\mathbb{R}^n,\mathbb{R}^m)$ and we know it's modulus of smoothness?