I am trying to derive a reasonable symmetric interpolant for quadratic $C^0$ interpolation. For odd degrees I have no trouble since things are symmetric. For example for a piecewise cubic interpolant I could define it in each interval $[x_{i-1},x_i]$ to be the cubic polynomial passing through $(x_{i-2},y_{i-2}),\, (x_{i-1},y_{i-1}), \,(x_{i},y_i),\, (x_{i+1},y_{i+1})$. For odd degrees this results in $C^{k-2}$ continuity, where $k$ is the degree of the polynomial. I am aware that I can construct a $C^{k-1}$ interpolant if I additionally solve a linear system of equations, but due to performance considerations I have decided to avoid this.
The issue is that the even degree case is not symmetric. For example I am not sure what constraints would make sense for piecewise quadratic interpolation. If for an interval $[x_{i-1}, x_i]$ I were to take the quadratic polynomial passing through $(x_{i-1}, y_{i-1}),\, (x_i, y_i), \, (x_{i+1},y_{i+1})$ then this emphasizes $(x_{i+1},y_{i+1})$ while it ignores $(x_{i-2}, y_{i-2})$. On the other hand if I were to take the quadratic polynomial passing through $(x_{i-2}, y_{i-2}), \,(x_{i-1}, y_{i-1}),\, (x_i, y_i)$ then this emphasizes $(x_{i-2}, y_{i-2})$ and ignores $(x_{i+1}, y_{i+1})$. Is there some standard approach for constructing a symmetric constraint that doesn't involve solving a system of linear equations for the global piecewise interpolant?
I want the piecewise interpolant in the interval $[x_{i-1}, x_i]$ to pass through $(x_{i-1},y_{i-1})$ and $(x_i, y_i)$, which leaves me with 1 parameter. Ideally I want to determine said parameter symmetrically from both $(x_{i-2},y_{i-2})$ and $(x_{i+1}, y_{i+1})$.


The following is not standard, as far as I know, but it might work.
We’re interested in how to construct a quadratic interpolant $Q(x)$ on $[x_{i-1}, x_i]$. Let $z=\tfrac12(x_{i-1} + x_i)$. If we could decide a suitable value for $Q(z)$, we’d be done.
So, let $A(x)$ be the quadratic interpolant through $x_{i-2}, x_{i-1}, x_i$, let $B(x)$ be the interpolant through $x_{i-1}, x_i, x_{i+1}$, and let $Q(z) = \tfrac12 (A(z) + B(z))$.
That’s symmetric, at least.