Theory of the Regularizer
The default regularizer in regularizeNd penalizes second derivative along each axis. The idealized zero-penalty condition is
This means the gradient in each axis is constant with respect to that same axis. Equivalently, the function is linear in each axis when the other axes are held fixed.
1D
If
then the exact zero-penalty function is affine:
2D
If
then the exact zero-penalty function is bilinear:
Check:
3D
In three dimensions, the exact zero-penalty function class is trilinear:
This is linear in each axis separately.
nD
In \(d\) dimensions, the exact zero-penalty functions are multilinear:
Each variable appears with power at most 1, so every pure second derivative with respect to a single axis is zero.
Conclusion
The null space of the second-derivative regularizer is not just globally linear in all variables together. It is multilinear: affine in 1D, bilinear in 2D, trilinear in 3D, and multilinear in nD.