Papers
Topics
Authors
Recent
Search
2000 character limit reached

Evaluation of Gauss-Legendre curves

Published 19 Apr 2026 in math.NA and cs.GR | (2604.17331v1)

Abstract: We present new representations of Gauss--Legendre polynomials and their derivatives in the shifted power basis and in bases related to symmetric orthogonal Jacobi polynomials. Using these representations and certain recurrence relations, we propose efficient $O(n2+dn)$ methods for evaluating a Gauss--Legendre curve of degree $n$ in $\mathbb Ed$. We also propose algorithms for multipoint evaluation with computational complexity $O(Mdn+dn2)$, where $M$ is the number of evaluation points.

Authors (2)

Summary

  • The paper introduces novel representations and recurrence relations that enable O(n) pointwise evaluation of Gauss–Legendre curves using shifted power and symmetric Jacobi bases.
  • The paper demonstrates that while the shifted power basis offers faster performance at low degrees, it becomes numerically unstable for n > 20 due to coefficient growth.
  • The paper validates its methods with benchmark results showing that symmetric Jacobi and Legendre approaches maintain stability and comparable efficiency for high-degree curves.

Evaluation of Gauss-Legendre Curves

Introduction

The paper "Evaluation of Gauss-Legendre curves" (2604.17331) presents a comprehensive investigation of efficient and numerically stable algorithms for evaluating Gauss–Legendre (GL) curves, which are polynomial parametric curves recently introduced with advantageous properties for Computer Aided Geometric Design (CAGD). Unlike classical Bézier curves, GL curves closely follow their control polygons across high degrees, offering enhanced shape control. The technical contributions include new representations for GL polynomials in the shifted power basis and bases related to symmetric Jacobi polynomials, novel recurrence relations, and fast algorithms for pointwise and multipoint evaluation of GL curves in arbitrary dimension.

Mathematical Foundations and New Representations

GL curves are defined over the interval [1,1][-1,1] as

Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)

where FinF^n_i are basis polynomials derived from differences of specifically constructed functions Gin(t)G^n_i(t) related analytically to Legendre polynomials. The zeros of the nnth Legendre polynomial, denoted τi\tau_i, play a critical role in these constructions.

The paper introduces two major new representations for FinF^n_i:

  1. Shifted Power Basis: GL polynomials are represented as sums of (t+1)k(t+1)^k with explicitly computed or recursively generated coefficients. This approach allows use of Horner's scheme for fast O(n)O(n) evaluation per FinF^n_i, but, as discussed later, exhibits numerical instability at high degrees due to rapidly growing and sign-alternating coefficients.
  2. Symmetric Jacobi (and Legendre) Bases: Leveraging the structure of Jacobi polynomials and the Christoffel–Darboux identity, the authors derive recursions and expansions for Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)0 in terms of Legendre and associated symmetric Jacobi polynomials. The Clenshaw algorithm is utilized for stable and efficient evaluation, resulting in Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)1 operations per Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)2.

These expansions allow the evaluation of all Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)3 for fixed Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)4 in Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)5 time and the evaluation of a GL curve Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)6 in Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)7 time for Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)8-dimensional control points.

Efficient Algorithms for Single and Multipoint Evaluation

The practical application of GL curves in CAGD and graphics necessitates rapid computation at potentially many sample locations. The authors propose two families of algorithms:

  • Single Point Evaluation: Both the shifted power-basis and Jacobi-basis approaches can be used; the coefficients can be precomputed in Pn(t)=i=0nWiFin(t)P_n(t) = \sum_{i=0}^{n} W_i F^n_i(t)9 time and subsequent evaluation benefits from Horner's or Clenshaw's schemes. Symmetries inherent in GL polynomials are exploited to reduce computational cost.
  • Multipoint Evaluation: The algorithms are structured so that after a single FinF^n_i0 precomputation of coefficients (fixed with respect to the parameter FinF^n_i1), evaluation at FinF^n_i2 points scales as FinF^n_i3, yielding an overall complexity of FinF^n_i4, which is optimal for practical purposes where FinF^n_i5. Figure 1

    Figure 1: A GL curve of degree 50 with randomly generated control points from FinF^n_i6.

Numerical Stability and Efficiency

A major empirical finding is the contrast in numerical stability between bases. The shifted power basis, while computationally fastest at low degrees, becomes numerically unstable for FinF^n_i7, as the coefficients in the expansion become extremely large and alternate in sign, amplifying rounding and cancellation errors. This is visualized in Figure 2, where instability manifests in GL curves at higher degrees. Figure 2

Figure 2

Figure 2

Figure 2

Figure 2: Numerical instability in the shifted power representation of GL curves of higher degree.

In contrast, the Legendre and Jacobi-based algorithms maintain excellent stability even for FinF^n_i8, as their coefficient magnitudes remain moderate. Timing benchmarks further demonstrate that for small FinF^n_i9 the shifted power approach is fastest, but for Gin(t)G^n_i(t)0 the orthogonal polynomial approaches become preferable due to their stability and similar computational cost.

Quantitative benchmarks provided in the paper show:

  • For Gin(t)G^n_i(t)1, the shifted power evaluation is roughly 2–4Gin(t)G^n_i(t)2 faster than Jacobi or Legendre methods, but all are orders of magnitude faster than direct numerical quadrature.
  • For Gin(t)G^n_i(t)3, symmetric Jacobi and Legendre approaches show near-identical and minimal evaluation times, with direct methods becoming prohibitively slow.

Implications and Future Directions

The development of robust, efficient algorithms for GL curve evaluation broadens the practical utility of GL curves in CAGD, numerical analysis, and computer graphics. The representations and algorithms introduced here enable high-degree curve evaluation without sacrificing stability or incurring unacceptable computational cost. Notably, the identification of numerical instability in the shifted power basis informs both theoretical and practical selection of basis representation in future work involving orthogonally generated polynomial bases.

Practically, these methods facilitate real-time rendering and manipulation of high-order parametric curves, and can underpin algorithms requiring rapid multipoint evaluations, such as those encountered in surface modeling, mesh generation, and geometric optimization.

The paper closes with an indication of ongoing research into connections between Bernstein and Gauss–Legendre bases and the construction of dual GL bases, which could further enhance the theoretical toolkit available for advanced approximation and CAGD tasks.

Conclusion

This work establishes well-founded, numerically stable, and computationally efficient methodologies for evaluating Gauss–Legendre curves and their derivatives, resolving a key computational bottleneck in their adoption for high-precision tasks in CAGD and related domains. The results further provide a detailed numerical analysis guiding the selection of basis according to polynomial degree and desired performance. Future developments—such as dual bases and basis transformations—are anticipated to deepen the impact and applicability of GL curve technology across computational mathematics and graphics.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.