ORTHOCUB: integral and differential cubature rules by orthogonal moments
Laura Rinaldi, Alvise Sommariva, Marco Vianello
TL;DR
ORTHOCUB provides a matrix-free framework to approximate linear functionals on multivariate polynomials by projecting onto an orthonormal basis with moments, using near-minimal algebraic cubature rules on a bounding box. The method unifies integration and differentiation functionals under a hyperinterpolation perspective, enabling exact polynomial recovery up to degree n without solving linear systems. By specializing to box domains and employing MPX product Chebyshev rules, ORTHOCUB achieves significant reductions in node counts while maintaining stability, with demonstrated efficiency in FEM/VEM contexts and QMC data compression. The written software in Matlab/Python, plus a set of demos, validates accuracy, stability, and practical usability for high-dimensional cubature tasks and differential operators on complex geometries.
Abstract
We discuss a numerical package, named ORTHOCUB, for the computation of linear functionals of both integral and differential type on multivariate polynomial spaces. The weighted sums corresponding to such integral and differential cubatures are implemented via orthogonal polynomial moments and auxiliary near-minimal algebraic cubature in a bounding box, with no conditioning issue since no matrix inversion or factorization is needed. The whole computational process indeed reduces to moment computation and dense matrix-vector products of relatively small size. The Matlab and Python codes are freely available, to be used as building blocks for integral and differential problems.
