원시데이터 수집 시스템
선정목록으로

On the accuracy of de Casteljau-type algorithms and Bernstein representations

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Jorge Delgado — Departamento de Matemática Aplicada/IUMA, Universidad de Zaragoza, Spain
  2. E. Mainar — Departamento de Matemática Aplicada/IUMA, Universidad de Zaragoza, Spain
  3. J.M. Peña — Departamento de Matemática Aplicada/IUMA, Universidad de Zaragoza, Spain
DOI
10.1016/j.cagd.2023.102243
저널
Computer Aided Geometric Design
발행년도
2023
발행기관
Elsevier BV
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cagd.2023.102243
토픽
Tribology and Lubrication Engineering
OpenAlex ID
W4386865250

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This paper summarizes interesting results on systematic backward and forward error analyses performed for corner cutting algorithms providing evaluation of univariate and multivariate functions defined in terms of Bernstein and Bernstein related bases. Relevant results on the conditioning of the bases are also recalled. Finally, the paper surveys important advances, lately obtained, for the design of algorithms adapted to the structure of totally positive matrices, allowing the resolution of interpolation and approximation problems with Bernstein-type bases achieving computations to high relative accuracy.

본문 93,970자

본문 펼치기
Computer Aided Geometric Design 106 (2023) 102243 [Contents lists available at ScienceDirect](http://www.ScienceDirect.com/) # Computer Aided Geometric Design journal homepage: [www.elsevier.com/locate/cagd](http://www.elsevier.com/locate/cagd) ## On the accuracy of de Casteljau-type algorithms and Bernstein representations ✩ J. Delgado, E. Mainar <sup>∗</sup>, J.M. Peña _Departamento_ _de_ _Matemática_ _Aplicada/IUMA,_ _Universidad_ _de_ _Zaragoza,_ _Spain_ a r t i c l e i n f - a b s t r a c t _Article_ _history:_ Received 4 June 2023 Received in revised form 13 September 2023 Accepted 14 September 2023 Available online 19 September 2023 Dedicated to the memory of Paul de Casteljau _Keywords:_ de Casteljau algorithm Error analysis Conditioning Accuracy Bernstein bases 1. Introduction This paper summarizes interesting results on systematic backward and forward error analyses performed for corner cutting algorithms providing evaluation of univariate and multivariate functions defined in terms of Bernstein and Bernstein related bases. Relevant results on the conditioning of the bases are also recalled. Finally, the paper surveys important advances, lately obtained, for the design of algorithms adapted to the structure of totally positive matrices, allowing the resolution of interpolation and approximation problems with Bernstein-type bases achieving computations to high relative accuracy. © 2023 Elsevier B.V. All rights reserved. Polynomial Bernstein bases (see Farouki, 2012) allow us the definition of Bézier curves and surfaces, which can be used to approximate curves or surfaces to a high degree of accuracy. Bernstein bases have optimal shape preserving (Carnicer and Peña, 1994b) and stability (Farouki and Goodman, 1996) properties and so, are widely used in the field of Computer Aided Geometric Design (CAGD). In the resolution of elliptic and hyperbolic partial differential equations with Galerkin and collocation methods, Bernstein bases have also been considered (cf. (Bhatti and Bracken, 2012; Bhatta and Bhatti, 2006)). Furthermore, Bézier curves can represent the most probable reaction path in a high dimensional configuration space and so, are also useful for the modeling of chemical reactions (cf. Bellucci and Trout, 2014). The de Casteljau algorithm is a well known corner cutting algorithm for the efficient and stable evaluation of polynomials in Bézier form (cf. Mainar and Peña, 1999). On the other hand, the evaluation of rational Bézier curves and surfaces in a floating point arithmetic is an important task in the field of Geometric Modeling (cf. Hoschek and Lasser, 1993; Delgado and Peña, 2010, 2011, 2013) and in other fields. In Approximation Theory, stability and shape preserving properties as well as properties of evaluation algorithms associated to the Bernstein basis of bivariate polynomials defined on a triangle have also been widely analyzed. For instance, in ✩ This work was partially supported by Spanish research grants PGC2018-096321-B-I00 and RED2022-134176-T (MCI/AEI) and by Gobierno de Aragón (E41_23R). - <sup>Corresponding</sup> <sup>author.</sup> _E-mail_ _addresses:_ [jorgedel@unizar.es](mailto:jorgedel@unizar.es) (J. Delgado), [esmemain@unizar.es](mailto:esmemain@unizar.es) (E. Mainar), [jmpena@unizar.es](mailto:jmpena@unizar.es) (J.M. Peña). [https://doi.org/10.1016/j.cagd.2023.102243](https://doi.org/10.1016/j.cagd.2023.102243) 0167-8396/© 2023 Elsevier B.V. All rights reserved. _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ Floater and Peña (2000), Floater and Peña focused on the monotonicity preservation property showing that, for quadratic polynomials, this basis is the unique (up to trivial extensions of it) satisfying a strong monotonicity preservation property. In Delgado and Peña (2007a), axial monotonicity preservation of rational Bernstein bases defined on both rectangular and triangular patches was studied. In Farouki and Rajan (1987), the inherent numerical stability under the influence of imprecise computer arithmetic or perturbed input data of Bernstein-Bézier methods is described. Let us recall that one practical aspect to be considered in the evaluation of a function _f_ of a vector space of functions is the stability with respect to perturbations of the coefficients. This fundamental concern depends on the basis that has been used for the representation of the functions of the space. In fact, the condition number of a basis allows us to represent how sensitive a value _f (x)_ is to any perturbations of a given maximal relative magnitude in the corresponding coefficients of _f_ . It is well known that, for polynomial evaluation, Bernstein bases on compact intervals are optimally stable among all bases formed by nonnegative polynomials (cf. Farouki and Goodman, 1996). This optimal stability is closely related with a minimality with respect to an order relation among bases of nonnegative functions which has been considered in (Farouki and Goodman, 1996; Carnicer and Peña, 1994a). Fundamental problems in interpolation and approximation require linear algebra computations with collocation, wronskian and gramian matrices of Bernstein and Bernstein related bases. The conditioning of the explicit conversion between Bernstein and monomial polynomial bases exponentially increases with the polynomial degree (cf. Farouki, 1991) and consequently, it is convenient to avoid the conversion to the power bases when performing numerical computations with these matrices. However, these matrices may become ill-conditioned as their dimension increases and then, standard routines implementing best traditional numerical methods do not obtain accurate results when computing their eigenvalues, their singular values, their inverse matrices or the solution of linear systems of equations. For this reason, during the last years, the design and analysis of algorithms to obtain calculations to high relative accuracy, whose relative errors will be of the order of the machine precision regardless of the dimension or the conditioning, has attracted the interest of many researchers (cf. Demmel and Koev, 2005; Koev, 2005; Mainar et al., 2020a, 2022a,b,c; Marco and Martínez, 2019). In order to make this paper as self-contained as possible, Section 2 recalls basic concepts and results related to Bernstein bases, Bézier representations, error analysis and high relative accuracy. Section 3 summarizes systematic forward and backward error analyses with respect to the evaluations of functions defined by means of Bernstein-type bases. Results on the conditioning of these bases are collected in Section 4. Finally, Section 5 focuses on the representation of matrices for the interpolation and approximation with Bernstein-type bases, providing factorizations to derive algebraic computations to high relative accuracy. 2. Notations and basic aspects and concepts We start by recalling some basic concepts and results. Given a sequence of functions _(u_ 0 _,_ _...,_ _un)_ on _I_ = [ _a,_ _b_ ], and a sequence of points _(C_ 0 _,_ _...,_ _Cn)_ in R <sup>_k_</sup>, we may define a parametric curve _γ (t)_ = - _n_ _i_ =0 _Ci_ _ui(t),_ _t_ ∈[ _a,_ _b_ ] _._ The points _Ci_, _i_ = 0 _,_ _...,_ _n_, are usually called _control_ _points_ . The polygonal arc _C_ 0 ··· _Cn_ with vertices _C_ 0 _,_ _...,_ _Cn_ is usually called the _control_ _polygon_ of the curve _γ_ . In CAGD, it is usually required that the functions _ui_, _i_ = 0 _,_ _...,_ _n_, are continuous, nonnegative and <sup>�</sup> <sup>_n_</sup> _i_ =0 <sup>_ui(t)_</sup> <sup>=</sup> <sup>1</sup> <sup>for</sup> <sup>all</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_I_</sup> <sup>that</sup> <sup>is,</sup> <sup>the</sup> <sup>system</sup> <sup>_U_</sup> <sup>=</sup> <sup>_(u_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_...,_</sup> <sup>_un)_</sup> <sup>is</sup> <sup>_normalized_</sup> <sup>.</sup> <sup>A</sup> <sup>normalized</sup> <sup>system</sup> <sup>of</sup> nonnegative functions is usually called a _blending_ system. A required property for curve design is the _convex_ _hull_ _property_, which is satisfied whenever the parametric curves always lie in the convex hull of their control polygons with respect to a given basis. The convex hull property holds if and only if the system of functions is blending. A matrix is _totally_ _positive_ _(TP)_ when all its minors are nonnegative and _strictly_ _totally_ _positive_ (STP) when all its minors are positive (see Ando, 1987; Pinkus, 2010). In the literature, totally positive and strictly totally positive matrices are also known as totally nonnegative and totally positive matrices, respectively (see Fallat and Johnson, 2011; Koev, 2007). Given a system of functions _u_ = _(u_ 0 _,_ _...,_ _un)_ defined on _I_ ⊆ R, the _collocation_ _matrix_ of _u_ at _t_ 0 _<_ ··· _< tm_ in _I_ is given by := _(u j(ti))_ 0≤ _i_ ≤ _m_ ;0≤ _j_ ≤ _n._ _M_ _u_ 0 _,...,un_ _t_ 0 _,...,tm_ A basis _u_ is TP if all its collocation matrices are TP. If _u_ is normalized totally positive (NTP), then the curve _γ (t)_ = - _n_ _i_ =0 _P_ _i_ _ui(t),_ _t_ ∈ _I,_ inherits many shape properties of the control polygon _P_ 0 ··· _P_ _n_ (cf. Carnicer and Peña, 1993). The polynomial basis most used in CAGD is the Bernstein basis. Let us denote by P <sup>_n_</sup> _(I)_ the space of polynomials of degree not greater than _n_ on the variable _t_ defined on an interval _I_ ⊆ R. The _Bernstein_ _basis_ of P <sup>_n_</sup> _(_ [0 _,_ 1] _)_ is _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ _bn_ = _(b_ <sup>_n_</sup> 0 <sup>_n_</sup> 0 <sup>_,...,_</sup> <sup>_b_</sup> _n_ <sup>_n),_</sup> _b_ <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ <sup>_(t)_</sup> <sup>=</sup> - _n_ _i_ _t_ <sup>_i_</sup> _(_ 1 − _t)_ <sup>_n_</sup> <sup>−</sup> <sup>_i_</sup> _,_ _t_ ∈[0 _,_ 1] _,_ _i_ = 0 _,...,_ _n._ (1) Given a triangle _T_ with vertices _P_ 1 _,_ _P_ 2 _,_ _P_ 3 and _P_ ∈ R <sup>_s_</sup>, the barycentric coordinates _λ_ = _(λ_ 1 _,_ _λ_ 2 _,_ _λ_ 3 _)_ corresponding to _P_ are uniquely defined by _λ_ 1 _P_ 1 + _λ_ 2 _P_ 2 + _λ_ 3 _P_ 3 = _P_ _,_ _λ_ 1 + _λ_ 2 + _λ_ 3 = 1 _._ Let � <sup>_n_</sup> _(T_ _)_ be the space of polynomials of total degree _n_ defined on _T_ . The Bernstein basis of � <sup>_n_</sup> _(T_ _)_ is formed by _n_ ! <sup>_n_</sup> _i, j,k_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_)_</sup> <sup>=</sup> _i_ ! _j_ ! 1 <sup>_i_</sup> <sup>_λ j_</sup> 2 <sup>_λk_</sup> 3 <sup>_,_</sup> _i_ + _j_ + _k_ = _n._ (2) _B_ <sup>_n_</sup> _i_ _i_ ! _j_ ! _k_ ! <sup>_λ_</sup> 1 <sup>_i_</sup> When considering the solution of a problem that has been solved in a floating point arithmetic, a forward error analysis measures how far the computed solution is from the exact solution. Nevertheless, one can try to find the initial data for which the computed solution is the exact solution of the problem. Backward error analysis measures how far these data are from the original data and consider rounding errors as perturbations in the initial data of the problem. Let us introduce some standard notation in error analysis. Given _a_ ∈ R, the computed element in a floating point arithmetic will be denoted by either _f l(a)_ or by _a_ ˆ. Given _k_ ∈ N0 such that _kε <_ 1, where _ε_ is the unit roundoff, let us define _kε_ _γk_ := 1 − _kε_ <sup>=</sup> <sup>_kε_</sup> <sup>+</sup> <sup>_O(ε_</sup> <sup>2</sup> <sup>_)._</sup> Error bounds are usually expressed in terms of quantities _γk_ . An algorithm for the resolution of an algebraic problem is performed to _high_ _relative_ _accuracy_ in floating point arithmetic if the relative errors in the computations have the order of the unit round-off (or machine precision), without being affected by the dimension or the conventional conditionings of the problem. It is well known that algorithms to high relative accuracy are those avoiding subtractive cancellations, that is, only requiring the following arithmetics operations: products, quotients, and additions of numbers of the same sign (see page 52 in Demmel et al., 1999). Moreover, if the floating-point arithmetic is well implemented, the subtraction of initial data can also be done without losing high relative accuracy (see page 53 in Demmel et al., 1999 and Demmel et al., 2008). Computations to high relative accuracy with TP matrices can be achieved by means of a proper representation of the matrices in terms of bidiagonal factorizations, which is in turn closely related to their Neville elimination (cf. Gasca and Peña, 1992, 1994, 1996). As a consequence of Theorem 4.2 and the arguments of p. 116 of Gasca and Peña (1996), we know that a nonsingular TP matrix _A_ ∈ R <sup>_(n_</sup> <sup>+1</sup> <sup>_)_</sup> <sup>×</sup> <sup>_(n_</sup> <sup>+1</sup> <sup>_)_</sup> admits a decomposition of the form _A_ = _Fn_ _Fn_ −1 ··· _F_ 1 _DG_ 1 _G_ 2 ··· _Gn,_ (3) where _F_ _i_ ∈ R <sup>_(n_</sup> <sup>+1</sup> <sup>_)_</sup> <sup>×</sup> <sup>_(n_</sup> <sup>+1</sup> <sup>_)_</sup> (resp. _G_ _i_ ∈ R <sup>_(n_</sup> <sup>+1</sup> <sup>_)_</sup> <sup>×</sup> <sup>_(n_</sup> <sup>+1</sup> <sup>_)_</sup> ) is the TP, lower (resp. upper) triangular bidiagonal matrix given by 1 _mi_ +1 _,_ 1 1 _..._ 1 _m_ - _i_ +1 _,_ 1 1 _..._ 1 _..._ 1 _..._ _..._ _mn_ +1 _,n_ +1− _i_ 1 _..._ _m_ - _n_ +1 _,n_ +1− _i_ 1 ⎛ ⎜⎜⎜⎜⎜⎜⎝ _F_ _i_ = ⎛ ⎜⎜⎜⎜⎜⎜⎝ _,_ _G_ _i_ <sup>_T_</sup> <sup>=</sup> _,_ (4) ⎞ ⎟⎟⎟⎟⎟⎟⎠ ⎞ ⎟⎟⎟⎟⎟⎟⎠ and _D_ is the diagonal matrix whose diagonal elements are the diagonal pivots, _pi,i_ _>_ 0, _i_ = 1 _,_ _...,_ _n_ + 1, of the Neville elimination of _A_ . The elements _mi, j_ (resp. _m_ - _j,i_ ) of _F_ _i_ (resp. _G_ _i_ ) are the multipliers of the Neville elimination of _A_ (resp. _A_ <sup>_T_</sup> ). Under the following conditions _mi, j_ = 0 ⇒ _mh, j_ = 0 _,_ ∀ _h > i_ and _m_ - _i, j_ = 0 ⇒ _m_ - _i,k_ = 0 _,_ ∀ _k >_ _j,_ (5) the factorization (3) is unique and can be represented by means of a matrix _BD(_ _A)_ = _(bi, j)_ 1≤ _i, j_ ≤ _n_ +1, such that ⎧ ⎪⎨ _bi, j_ := _mi, j,_ if _i >_ _j,_ _pi,i,_ if _i_ = _j,_ _m_ - _j,i,_ if _i <_ _j._ _pi,i,_ if _i_ = _j,_ ⎪⎩ _m_ - _j,i,_ if _i <_ _j._ (6) 3. Error analysis of evaluation algorithms generalizing de Casteljau algorithm _3.1._ _Evaluation_ _of_ _univariate_ _functions_ The de Casteljau algorithm is the usual algorithm for evaluating polynomial curves in Bézier form _γ (t)_ = <sup>�</sup> <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ =0 <sup>_P_</sup> <sup>_ibn_</sup> _i_ The de Casteljau algorithm is the usual algorithm for evaluating polynomial curves in Bézier form _γ (t)_ = <sup>�</sup> <sup>_n_</sup> _i_ =0 <sup>_P_</sup> <sup>_ibn_</sup> _i_ <sup>_(t)_</sup> <sup>at</sup> _t_ ∈[0 _,_ 1], where _bn_ = _(b_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_b_</sup> _n_ <sup>_n)_</sup> <sup>is</sup> <sup>the</sup> <sup>Bernstein</sup> <sup>basis</sup> <sup>given</sup> <sup>by</sup> <sup>(1).</sup> <sup>The</sup> <sup>de</sup> <sup>Casteljau</sup> <sup>algorithm</sup> <sup>is</sup> <sup>a</sup> <sup>corner</sup> <sup>cutting</sup> <sup>algorithm</sup> <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_b_</sup> _n_ <sup>_n)_</sup> <sup>is</sup> <sup>the</sup> <sup>Bernstein</sup> <sup>basis</sup> <sup>given</sup> <sup>by</sup> <sup>(1).</sup> <sup>The</sup> <sup>de</sup> <sup>Casteljau</sup> <sup>algorithm</sup> <sup>is</sup> <sup>a</sup> <sup>corner</sup> <sup>cutting</sup> <sup>algorithm</sup> _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ since each of their steps consists of a convex combination. This type of algorithms has a nice geometric interpretation and good stability properties. Let us describe this algorithm with more detail. Let _p(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ <sup>_(t)_</sup> <sup>∈</sup> <sup>P</sup> <sup>_n(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> <sup>and</sup> <sup>_t_</sup> <sup>∈[0</sup> <sup>_,_</sup> <sup>1].</sup> <sup>Denoting</sup> <sup>_p(_</sup> _i_ <sup>0</sup> <sup>_)_</sup> <sup>_n_</sup> _i_ =0 <sup>_cibn_</sup> _i_ <sup>_(_</sup> _i_ <sup>0</sup> <sup>_)_</sup> = _ci_, for _i_ = 0 _,_ _...,_ _n_, and calculating <sup>_(_</sup> _i_ <sup>_r)_</sup> = _(_ 1 − _t) p_ <sup>_(_</sup> _i_ <sup>_r_</sup> <sup>−1</sup> <sup>_)_</sup> <sup>_(_</sup> _i_ + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_),_</sup> _i_ = 0 _,...,_ _n_ - _r,_ _r_ = 1 _,...,_ _n,_ (7) _p_ <sup>_(_</sup> _i_ <sup>_r)_</sup> <sup>_(_</sup> _i_ <sup>_r_</sup> <sup>−1</sup> <sup>_)_</sup> + _t p_ <sup>_(_</sup> _i_ + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> we have _p_ <sup>_(_</sup> 0 <sup>_n)_</sup> = _p(t)_ . In Proposition 3.1 of Mainar and Peña (1999), Mainar and Peña carried out a backward error analysis of corner cutting algorithms for the evaluation of univariate functions. In particular, bounds for the absolute forward errors of these algorithms were provided in Corollary 3.2 of Mainar and Peña (1999). These error bounds are computed separately from the evaluation of the curve, that is, they are a priori bounds. However, in practical applications it is more useful to obtain a bound of the forward error at the same time as the value _p(t)_ is computed. So, in order to get this goal, a running error analysis of corner cutting algorithms for the evaluation of univariate functions was performed in Section 4 of Mainar and Peña (1999). For the sake of completeness, the following theorem summarizes these results for the particular case of the de Casteljau algorithm for the evaluation of polynomials in Bézier form: Theorem 1. _Let_ _p(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ =0 <sup>_cibn_</sup> _i_ Theorem 1. _Let_ _p(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ =0 <sup>_cibn_</sup> _i_ <sup>_(t)_</sup> <sup>∈</sup> <sup>P</sup> <sup>_n(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_) represented_</sup> <sup>_in_</sup> <sup>_terms_</sup> <sup>_of_</sup> <sup>_the_</sup> <sup>_Bernstein_</sup> <sup>_basis_</sup> <sup>_of_</sup> <sup>_degree_</sup> <sup>_n in_</sup> <sup>(1)</sup> <sup>_,_</sup> <sup>_and_</sup> <sup>_let_</sup> <sup>_us_</sup> <sup>_consider_</sup> <sup>_the_</sup> _de_ _Casteljau_ _algorithm_ (7) _for_ _the_ _evaluation_ _of_ _p(t)._ _The_ _computed_ _value_ _p_ ˆ _(t)_ := _f l(p(t)) satisfies:_ a) _Backward_ _error:_ _p_ ˆ _(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ =0 <sup>_<u>cibn</u>_</sup> _i_ _error:_ _p_ ˆ _(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ =0 <sup>_<u>cibn</u>_</sup> _i_ <sup>_(t) where_</sup> �� _<u>ci</u>_ - _ci_ �� ≤ _γ_ 2 _n,_ _for all i_ = 0 _,...,_ _n._ | _ci_ | b) _Forward_ _error:_ �� _p(t)_ −ˆ _p(t)_ �� ≤ _γ_ 2 _n_ _and_ _then_ - _n_ _i_ =0 | _ci_ | _b_ <sup>_n_</sup> _i_ <sup>_(t),_</sup> (8) �� _p(t)_ −ˆ _p(t)_ �� ≤ _γ_ 2 _n_ max 0≤ _i_ ≤ _n_ <sup>|</sup> <sup>_ci_</sup> <sup>|</sup> <sup>_._</sup> c) _Running_ _error:_ _defining_ _Mi_ <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup><u>1</u></sup> 2 <sup>|</sup> <sup>_ci_</sup> <sup>|</sup> <sup>_,_</sup> <sup>_for_</sup> <sup>_i_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_...,_</sup> <sup>_n,_</sup> <sup>_and_</sup> _i_ <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> = <sup><u>1</u></sup> 2 _i_ <sup>_(r)_</sup> = _(_ 1 − _t)Mi_ <sup>_(r_</sup> <sup>−1</sup> <sup>_)_</sup> _i_ <sup>_(_</sup> + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> + _Mi_ <sup>_(r)_</sup> _i_ <sup>_(r_</sup> <sup>−1</sup> <sup>_)_</sup> + _tMi_ <sup>_(_</sup> + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> ��� _p_ ˆ _(i_ _r)_ ��� _,_ _i_ = 0 _,...,_ _n_ - _r,_ _r_ = 1 _,...,_ _n,_ _we_ _have_ �� _p(t)_ −ˆ _p(t)_ �� ≤ _ε(_ 2 _M_ 0 _(n)_ �� _p_ ˆ _(t)_ �� _)._ Let us notice that similar forward error bounds do not hold for other evaluation algorithms, such as the Horner algorithm, which do not consist of convex combinations. Although the complexity of the Horner evaluation method is _O_ _(n)_ instead of _O_ _(n_ <sup>2</sup> _)_, the Horner forward error bound in formula (5.3) of Higham (2002) is bigger than the corresponding formula (8) for the forward error of de Casteljau algorithm. This fact can be explained by introducing a condition number for evaluation. Remark 1. By Theorem 1 b) we have that �� _p(t)_ −ˆ _p(t)_ �� ≤ _γ_ 2 _n Cbn_ _(p,_ _t),_ where _Cbn_ _(p,_ _t)_ := <sup>�</sup> <sup>_n_</sup> _i_ =0 �� _ci bni_ <sup>_(t)_</sup> �� is called a _condition_ _number_ for the evaluation of _p(t)_ with the basis _bn_ (see Farouki and Goodman, 1996; Farouki and Rajan, 1988 and Section 4). In fact, the formula for the forward error satisfies the classical relation: where _Cbn_ _(p,_ _t)_ := <sup>�</sup> <sup>_n_</sup> _i_ _i_ =0 �� _ci bni_ <sup>_(t)_</sup> forward error ≤ backward error × condition number _._ For de Casteljau and Horner algorithms, the term corresponding to the backward error in the previous formula is the same ( _γ_ 2 _n_ ). However, it is well known (cf. [5]) that the condition number corresponding to the Bernstein basis is always lower than or equal to the condition number corresponding to the monomial basis (used for the polynomial representation when evaluating with the Horner algorithm). In fact, Bernstein bases are optimally stable for polynomial evaluation among all bases formed by nonnegative polynomials, as it is going to be explained with more detail in Section 4. _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ Let us observe that Theorem 1 provides bounds for absolute errors. However, the relative errors are more significant. In Delgado and Peña (2009a), Delgado and Peña provided a sufficient condition depending on _p(t)_ and an absolute error bound _ε_ _K_ for obtaining relative error bounds. The following result regards the forward and running relative error bounds for the evaluation of polynomials represented in the Bernstein basis, obtained in Delgado and Peña (2009a). Theorem 2. _Let_ _p(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ =0 <sup>_cibn_</sup> _i_ Theorem 2. _Let_ _p(t)_ = <sup>�</sup> <sup>_n_</sup> _i_ =0 <sup>_cibn_</sup> _i_ <sup>_(t)_</sup> <sup>∈</sup> <sup>P</sup> <sup>_n(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_) represented_</sup> <sup>_in_</sup> <sup>_terms_</sup> <sup>_of_</sup> <sup>_the_</sup> <sup>_Bernstein_</sup> <sup>_basis_</sup> <sup>_of_</sup> <sup>_degree_</sup> <sup>_n in_</sup> <sup>(1)</sup> <sup>_,_</sup> <sup>_and_</sup> <sup>_let_</sup> <sup>_us_</sup> <sup>_consider_</sup> <sup>_the_</sup> _de_ _Casteljau_ _algorithm_ (7) _for_ _the_ _evaluation_ _of_ _p(t)._ _The_ _computed_ _value_ _p_ ˆ _(x)_ := _f l(p(x)) satisfies:_ _relative_ _error:_ _if_ �� _p_ ˆ _(t)_ �� _> γ_ 2 _n Cbn_ _(p,_ _t) then_ �� _p(t)_ −ˆ _p(t)_ �� - _ni_ <u>=0</u> <sup>|</sup> <sup>_ci_</sup> <sup>|</sup> <sup>_bn_</sup> _<u>i</u>_ <sup>_(t)_</sup> a) _Forward_ _relative_ _error:_ _if_ ≤ _γ_ 2 _n_ | _p(t)_ | - _n_ _<u>i</u>_ <u>=0</u> <sup>|</sup> <sup>_ci_</sup> <sup>|</sup> <sup>_bn_</sup> _<u>i</u>_ <u>0</u> <sup>|</sup> <sup>_ci_</sup> <sup>|</sup> <sup>_bn_</sup> _<u>i</u>_ <sup>_(t)_</sup> ~~�~~ <u>�</u> _p_ ˆ _(t)_ ~~�~~ <u>�</u> _._ _relative_ _error:_ _if_ �� _p_ ˆ _(t)_ �� _> ε(_ 2 _M_ 0 _(n)_ - �� _p_ ˆ _(t)_ �� _) then_ �� _p(t)_ −ˆ _p(t)_ �� <u>0</u> - �� _p_ ˆ _(t)_ �� _)_ ≤ _ε_ <sup>_(_</sup> <sup>2</sup> <sup>_M(n)_</sup> �� _p_ ˆ _(t)_ �� _> ε(_ 2 _M_ 0 _(n)_ b) _Running_ _relative_ _error:_ _if_ - �� _p_ ˆ _(t)_ �� _)_ <sup>_n)_</sup> _._ ~~�~~ <u>�</u> _p_ ˆ _(t)_ ~~�~~ <u>�</u> _)_ −ˆ _p(t)_ �� <u>0</u> ≤ _ε_ <sup>_(_</sup> <sup>2</sup> <sup>_M(n)_</sup> | _p(t)_ | ~~�~~ <u>�</u> ˆ <u>0</u> <sup>_(n)_</sup> _3.2._ _Evaluation_ _of_ _multivariate_ _functions_ In Delgado and Peña (2008), both backward and forward error analyses of corner cutting algorithms for the evaluation of tensor product surfaces were performed. It was proved that these algorithms are backward stable. Now, let us recall this error analysis for the particular case of the generalization of the de Casteljau algorithm for the evaluation of tensor product Bézier functions <sup>_n_</sup> _j_ <sup>_(_</sup> <sup>_y),_</sup> _(x, y)_ ∈[0 _,_ 1] × [0 _,_ 1] _,_ _f_ _i, j_ ∈ R _,_ ∀ _i,_ _j._ (9) _F_ _(x, y)_ = - _m_ - _n_ _i_ =0 _j_ =0 _f_ _i, jb_ <sup>_m_</sup> _i_ <sup>_m_</sup> _i_ <sup>_(x)bn_</sup> _j_ In order to evaluate _F_ _(x,_ _y)_ with the de Casteljau-type algorithm, we denote _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>0</sup> <sup>_)_</sup> := _f_ _i, j_ for all _i_ = 0 _,_ _...,_ _m_ and _j_ = 0 _,_ _...,_ _n_ . Calculating the coefficients _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r)_</sup> = _(_ 1 − _y)_ _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,_</sup> + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> _,_ _i_ = 0 _,...,_ _m,_ _r_ = 1 _,...,_ _n,_ _j_ = 0 _,...,_ _n_ - _r,_ _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r)_</sup> _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> + _y_ _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,_</sup> + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> and then, computing _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> = _(_ 1 − _x)_ _f_ _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>−1</sup> <sup>_,n)_</sup> _i_ <sup>_(_</sup> + <sup>_r_</sup> <sup>−</sup> 1 _,_ <sup>1</sup> 0 <sup>_,n),_</sup> _r_ = 1 _,...,_ _m,_ _i_ = 0 _,...,_ _m_ - _r,_ _f_ _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>−1</sup> <sup>_,n)_</sup> + _x_ _f_ _i_ <sup>_(_</sup> + <sup>_r_</sup> <sup>−</sup> 1 _,_ <sup>1</sup> 0 <sup>_,n)_</sup> the following value is obtained _f_ 0 <sup>_(m_</sup> _,_ 0 <sup>_,n)_</sup> = _F_ _(x,_ _y)_ . In Theorem 5 of Delgado and Peña (2008) a forward error analysis of corner cutting algorithms for tensor product functions was presented and the corresponding running error analysis was derived in Theorem 8. The following theorem summarizes these results, for the particular case of de Casteljau-type algorithm for tensor product Bézier functions: Theorem 3. _Let_ _F_ _be_ _a_ _tensor_ _product_ _Bézier_ _function_ _given_ _by_ (9) _and_ _let_ _us_ _consider_ _the_ _de_ _Casteljau-type_ _algorithm_ _for_ _the_ _evaluation_ _of_ _F_ _(x,_ _y)._ _The_ _computed_ _value_ _F_ <sup>ˆ</sup> _(x,_ _y)_ = _f l(F_ _(x,_ _y)) satisfies:_ a) _Backward_ _error:_ _F_ <sup>ˆ</sup> _(x,_ _y)_ = <sup>�</sup> <sup>_m_</sup> _i_ _error:_ _F_ <sup>ˆ</sup> _(x,_ _y)_ = <sup>�</sup> <sup>_m_</sup> _i_ =0 _j_ =0 <sup>_f_</sup> _i, j_ <sup>_bm_</sup> _i_ <sup>_(x)bn_</sup> _j_ <sup>_(_</sup> <sup>_y) where_</sup> ��� _f i, j_ - _f_ _i, j_ ��� ~~�~~ <u>�</u> _f_ _i, j_ ~~�~~ <u>�</u> ≤ _γ_ 2 _(m_ + _n),_ _for all i_ = 0 _,...,_ _m and_ _j_ = 0 _,...,_ _n._ _i_ =0 - _n_ _j_ =0 <sup>_f_</sup> _i, j_ <sup>_bm_</sup> _i_ <sup>_(_</sup> <sup>_m_</sup> _i_ <sup>_(x)bn_</sup> _j_ b) _Forward_ _error:_ ��� _F_ _(x, y)_ −ˆ _F_ _(x, y)_ ��� ≤ _γ_ 2 _(m_ + _n)_ - _m_ _i_ =0 �� _f_ _i, j_ �� _bmi_ <sup>_(x)bn_</sup> _j_ <sup>_n_</sup> _j_ <sup>_(_</sup> <sup>_y)_</sup> <sup>≤</sup> <sup>_γ_</sup> <sup>2</sup> <sup>_(m_</sup> <sup>+</sup> <sup>_n)_</sup> <sup>max</sup> - _n_ _j_ =0 _i, j_ �� _f_ _i, j_ �� _._ c) _Running_ _error:_ ��� _F_ _(x, y)_ −ˆ _F_ _(x, y)_ ��� ≤ _ε π_ 0 _(m,_ 0 _,n),_ _where_ _π_ 0 <sup>_(m_</sup> _,_ 0 <sup>_,n)_</sup> _is_ _computed_ _recursively,_ _using_ _data_ _computed_ _while_ _applying_ _the_ _de_ _Casteljau-type_ _algorithm_ _(see_ _Theorem_ _8_ _of_ _Delgado_ _and_ _Peña,_ _2008 for_ _more_ _details)._ _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ The numerical experimentation described in Delgado and Peña (2008) illustrates the better stability properties of the de Casteljau algorithm over the extension of the Horner algorithm for the evaluation of tensor product polynomial surfaces. In Delgado and Peña (2010), forward and running error analyses of the commonly used algorithm for the evaluation of rational Bézier functions were performed. But this algorithm uses the projection operator in its last step and so it is not a corner cutting algorithm. In Delgado and Peña (2007b), Delgado and Peña presented a corner cutting algorithm for the evaluation of rational Bézier functions. As a novelty, this algorithm avoided using the projection operator for the evaluation. Given a matrix _(ci, j)_ 0≤ _i_ ≤ _m_ ;0≤ _j_ ≤ _n_ of real numbers and a matrix _(w_ _i, j)_ 0≤ _i_ ≤ _m_ ;0≤ _j_ ≤ _n_ of positive weights, let us consider a rational Bézier function - _n_ _j_ =0 <sup>_n_</sup> _j_ <sup>_(_</sup> <sup>_y),_</sup> _(x, y)_ ∈[0 _,_ 1] × [0 _,_ 1] _._ (10) _F_ _(x, y)_ := - _m_ _i_ =0 _ci, j_ _w_ _i, j b_ <sup>_m_</sup> _<u>i</u>_ <sup>_(x)_</sup> <sup>_bn_</sup> _<u>j</u>_ <sup>_(_</sup> <sup>_y)_</sup> ~~�~~ _<u>m</u>_ ~~�~~ _<u>n</u>_ _i_ =0 _j_ =0 <sup>_w_</sup> <sup>_i, j bm_</sup> _i_ <sup>_(x)_</sup> _w_ _i, j b_ <sup>_m_</sup> _<u>i</u>_ ~~�~~ _<u>n</u>_ _j_ =0 <sup>_w_</sup> <sup>_i, j bm_</sup> _i_ <sup>_m_</sup> _<u>i</u>_ <sup>_(x)_</sup> <sup>_bn_</sup> _<u>j</u>_ <sup>_(_</sup> <sup>_m_</sup> _i_ <sup>_(x)_</sup> <sup>_bn_</sup> _j_ In order to evaluate this function, let us denote _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>0</sup> <sup>_)_</sup> _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>0</sup> <sup>_)_</sup> := _ci, j_ and _w_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>0</sup> <sup>_)_</sup> <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>0</sup> <sup>_)_</sup> := _w_ _i, j_, for all _i_ = 0 _,_ _...,_ _m_ and _j_ = 0 _,_ _...,_ _n_ . First, we obtain the coefficients _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r)_</sup> as <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,r)_</sup> = _(_ 1 − _y) w_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> <sup>_(_</sup> <sup>0</sup> <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> _i, j_ +1 <sup>_,_</sup> _w_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,r)_</sup> <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> + _y w_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,_</sup> + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> + _y_ _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,_</sup> + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> <sup>_)_</sup> _,_ _i_ = 0 _,...,_ _m,_ _r_ = 1 _,...,_ _n,_ _j_ = 0 _,...,_ _n_ - _r._ _w_ <sup>_(_</sup> _<u>i,</u>_ <sup>0</sup> _<u>j</u>_ <sup>_,_</sup> <u>+</u> <sup>_r_</sup> <sup>−</sup> <u>1</u> <sup>1</sup> <sup>_)_</sup> _w_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_,r)_</sup> _f_ _i_ <sup>_(_</sup> _,_ <sup>0</sup> _j_ <sup>_,r)_</sup> = _(_ 1 − _y)_ _w_ <sup>_(_</sup> _<u>i,</u>_ <sup>0</sup> _<u>j</u>_ <sup>_,r_</sup> <sup>−1</sup> <sup>_)_</sup> _w_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_r)_</sup> Then, we compute the coefficients _f_ _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> as <sup>_(_</sup> _i,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> = _(_ 1 − _x) w_ <sup>_(_</sup> _i,_ <sup>_r_</sup> 0 <sup>−1</sup> <sup>_,n)_</sup> <sup>_(r_</sup> <sup>−1</sup> <sup>_,n)_</sup> _i_ +1 _,_ 0 <sup>_,_</sup> _w_ <sup>_(_</sup> _i,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> <sup>_(_</sup> _i,_ <sup>_r_</sup> 0 <sup>−1</sup> <sup>_,n)_</sup> + _x w_ <sup>_(_</sup> _i_ + <sup>_r_</sup> <sup>−</sup> 1 <sup>1</sup> _,_ 0 <sup>_,n)_</sup> _f_ _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>−1</sup> <sup>_,n)_</sup> + _x_ _f_ _i_ <sup>_(_</sup> + <sup>_r_</sup> <sup>−</sup> 1 _,_ <sup>1</sup> 0 <sup>_,n)_</sup> _,_ _r_ = 1 _,...,_ _m,_ _i_ = 0 _,...,_ _m_ - _r._ _w_ <sup>_(_</sup> _<u>i</u>_ <u>+</u> <sup>_r_</sup> <sup>−</sup> <u>1</u> <sup>1</sup> _<u>,</u>_ <u>0</u> <sup>_,n)_</sup> _w_ <sup>_(_</sup> _i,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> _f_ _i_ <sup>_(_</sup> _,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> = _(_ 1 − _x)_ _w_ <sup>_(_</sup> _<u>i,</u>_ <sup>_r_</sup> <u>0</u> <sup>−1</sup> <sup>_,n)_</sup> _w_ <sup>_(_</sup> _i,_ <sup>_r_</sup> 0 <sup>_,n)_</sup> Finally, _f_ 0 <sup>_(m_</sup> _,_ 0 <sup>_,n)_</sup> = _F_ _(x,_ _y)_ is obtained. This algorithm was called _corner_ _cutting_ _rational_ _surface_ _algorithm_ in Delgado and Peña (2007b) and it can be considered a de Casteljau-type algorithm for rational Bézier surfaces. In Theorem 3.1 of Delgado and Peña (2007b), a forward error analysis of the corner cutting rational surface algorithm was carried out. In Theorem 5 of Delgado and Peña (2011), Delgado and Peña provided a running error analysis for the corner cutting rational surface algorithm. These results are summarized in the following theorem. Theorem 4. _Let_ _us_ _consider_ _the_ _rational_ _function_ _F_ _given_ _by_ (10) _and_ _let_ _F_ <sup>ˆ</sup> _(x,_ _y) be_ _the_ _computed_ _value_ _with_ _floating_ _point_ _arithmetic_ _by_ _the_ _corner_ _cutting_ _rational_ _surface_ _algorithm._ _Then_ a) _Forward_ _error_ _bound:_ ��� _F_ _(x, y)_ −ˆ _F_ _(x, y)_ ��� ≤ _γk_ - _m_ _i_ =0 - _n_ _j_ =0 <sup>_m_</sup> _i_ <sup>_(x)_</sup> <sup>_bn_</sup> _j_ _i, j_ �� _ci, j_ �� ~~�~~ _<u>m</u>_ ~~�~~ _w_ _in, j b_ <sup>_m_</sup> _<u>i</u>_ <sup>_m_</sup> _<u>i</u>_ <sup>_(x)_</sup> <sup>_bn_</sup> _<u>j</u>_ _w_ _i, j b_ <sup>_m_</sup> _<u>i</u>_ <sup>_(x)_</sup> <sup>_bn_</sup> _<u>j</u>_ <sup>_(_</sup> <sup>_y)_</sup> ~~�~~ _<u>m</u>_ ~~�~~ _<u>n</u>_ _i_ =0 _j_ =0 <sup>_w_</sup> <sup>_i, j bm_</sup> _i_ <sup>_(x)_</sup> _i, j_ <sup>_n_</sup> _j_ <sup>_(_</sup> <sup>_y)_</sup> <sup>≤</sup> <sup>_γk_</sup> <sup>max</sup> ~~�~~ _<u>n</u>_ _j_ =0 <sup>_w_</sup> <sup>_i, j bm_</sup> _i_ �� _ci, j_ �� _,_ _where_ _k_ = _(_ 3 _m_ <sup>2</sup> + 5 _m)_ + _(_ 3 _n_ <sup>2</sup> + 5 _n)_ + 6 _mn._ b) _Running_ _error_ _bound:_ ��� _F_ _(x, y)_ −ˆ _F_ _(x, y)_ ��� ≤ _επ_ 0 _(m,_ 0 _,n),_ _where_ _π_ 0 <sup>_(m_</sup> _,_ 0 <sup>_,n)_</sup> _is_ _computed_ _recursively_ _using_ _data_ _computed_ _while_ _evaluating_ _F_ _(x,_ _y) by_ _using_ _the_ _corner_ _cutting_ _rational_ _surface_ _algorithm_ _(see_ _Theorem_ _5_ _of_ _Delgado_ _and_ _Peña,_ _2011 for_ _more_ _details)._ Remark 2. By a) of the previous theorem, we have that ��� _F_ _(x, y)_ −ˆ _F_ _(x, y)_ ��� ≤ _γ_ 2 _n Srbm,n_ _(F_ _(x, y)),_ ��� _ci, j rbmi, j,n_ <sup>_(x)_</sup> ��� is called a _condition_ _number_ for the evaluation of _F_ _(x,_ _y)_ with the basis where _Srbm,n_ _(F_ _(x,_ _y))_ := <sup>�</sup> <sup>_m_</sup> _i_ =0 - _n_ _i_ =0 _w_ _i, j b_ <sup>_m_</sup> _<u>i</u>_ <sup>_m_</sup> _<u>i</u>_ <sup>_(x)_</sup> <sup>_bn_</sup> _<u>j</u>_ <sup>_n_</sup> _j_ <sup>_(_</sup> <sup>_y),_</sup> _rbm,n_ = _(rb_ <sup>_m_</sup> _i, j_ <sup>_,n_</sup> <sup>_m_</sup> _i, j_ <sup>_,n(x, y))_</sup> <sup>0≤</sup> <sup>_i_</sup> <sup>≤</sup> <sup>_m_</sup> <sup>;0≤</sup> <sup>_j_</sup> <sup>≤</sup> <sup>_n,_</sup> _rb_ <sup>_m_</sup> _i, j_ <sup>_,n_</sup> <sup>_m_</sup> _i, j_ <sup>_,n(x, y)_</sup> <sup>=</sup> - _m_ - _n_ _i_ =0 _j_ =0 _w_ _i, j b_ <sup>_m_</sup> _<u>i</u>_ <sup>_(x)_</sup> <sup>_bn_</sup> _<u>j</u>_ <sup>_(_</sup> <sup>_y)_</sup> ~~�~~ _<u>m</u>_ ~~�~~ _<u>n</u>_ _i_ =0 _j_ =0 <sup>_w_</sup> <sup>_i, j bm_</sup> _i_ <sup>_(x)_</sup> ~~�~~ _<u>n</u>_ _j_ =0 <sup>_w_</sup> <sup>_i, j bm_</sup> _i_ <sup>_m_</sup> _i_ <sup>_(x)_</sup> <sup>_bn_</sup> _j_ for _i_ = 0 _,_ _...,_ _m_, _j_ = 0 _,_ _...,_ _n_ . _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ Triangular Bézier patches are an alternative to tensor product patches, providing in some senses more flexibility in the design than the latter. In geometric modeling, bivariate polynomials defined on a triangle are usually stored in a BernsteinBézier form and evaluated by the de Casteljau algorithm. The _Bernstein-Bézier_ _representation_ of _p_ ∈ � <sup>_n_</sup> _(T_ _)_ is - _i_ _j_ =0 _p(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ = - _n_ _i_ =0 _bn_ - _i,i_ - _j, j B_ <sup>_n_</sup> _n_ - _i,i_ - _j, j_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_),_</sup> (11) _bn_ - _i,i_ - _j, j B_ <sup>_n_</sup> _n_ where _B_ <sup>_n_</sup> _i, j,k_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_,_</sup> <sup>_λ_</sup> <sup>3</sup> <sup>_)_</sup> <sup>,</sup> <sup>_i_</sup> <sup>+</sup> <sup>_j_</sup> <sup>+</sup> <sup>_k_</sup> <sup>=</sup> <sup>_n_</sup> <sup>,</sup> <sup>are</sup> <sup>the</sup> <sup>Bernstein</sup> <sup>polynomials</sup> <sup>on</sup> <sup>the</sup> <sup>triangle</sup> <sup>_T_</sup> <sup>(see</sup> <sup>(2)).</sup> Starting with _b_ <sup>_(_</sup> _i,_ <sup>0</sup> _j_ <sup>_)_</sup> _,k_ <sup>:=</sup> <sup>_bi, j,k_</sup> <sup>,</sup> <sup>for</sup> <sup>all</sup> <sup>_i_</sup> <sup>+</sup> <sup>_j_</sup> <sup>+</sup> <sup>_k_</sup> <sup>=</sup> <sup>_n_</sup> <sup>,</sup> <sup>the</sup> <sup>de</sup> <sup>Casteljau</sup> <sup>algorithm</sup> <sup>computes</sup> _n_ <sup>_(k_</sup> - <sup>_)_</sup> _i_ - _k,i_ - _j, j_ <sup>=</sup> <sup>_λ_</sup> <sup>1</sup> <sup>_b_</sup> _n_ <sup>_(k_</sup> - <sup>−</sup> _i_ - <sup>1</sup> <sup>_)_</sup> _k_ _n_ <sup>_(k_</sup> - <sup>−</sup> _i_ - <sup>1</sup> <sup>_)_</sup> _k,i_ - _j_ +1 _, j_ <sup>+</sup> <sup>_λ_</sup> <sup>3</sup> <sup>_b_</sup> _n_ <sup>_(k_</sup> - <sup>−</sup> _i_ - <sup>1</sup> <sup>_)_</sup> _bn_ <sup>_(k_</sup> - <sup>_)_</sup> _n_ <sup>_(k_</sup> - <sup>−</sup> _i_ - <sup>1</sup> <sup>_)_</sup> _k_ +1 _,i_ - _j, j_ <sup>+</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_b_</sup> _n_ <sup>_(k_</sup> - <sup>−</sup> _i_ - <sup>1</sup> <sup>_)_</sup> _n_ <sup>_(k_</sup> - <sup>−</sup> _i_ - <sup>1</sup> <sup>_)_</sup> _k,i_ - _j, j_ +1 <sup>_,_</sup> (12) for _j_ = 0 _,_ _...,_ _i_, _i_ = 0 _,_ _...,_ _n_ - _k_, _k_ = 1 _,_ _...,_ _n_ . So that _b_ <sup>_(_</sup> 0 <sup>_n_</sup> _,_ 0 <sup>_)_</sup> _,_ 0 <sup>=</sup> <sup>_p(λ_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_,_</sup> <sup>_λ_</sup> <sup>3</sup> <sup>_)_</sup> <sup>.</sup> Let us observe that each step of the algorithm is a convex combination of values computed at the previous iteration, such as it happened with univariate corner cutting algorithms (cf. Mainar and Peña, 1999). This property implies some good stability properties of the de Casteljau algorithm (12). In Mainar and Peña (2006a), a forward error analysis for the evaluation of bivariate polynomials defined on a triangle through the de Casteljau algorithm was performed. Some obtained results are sumarized in the following theorem. Theorem 5. _Let_ _us_ _consider_ _p_ ∈ � <sup>_n_</sup> _(T_ _)_ _in_ _its_ _Bernstein-Bézier_ _form_ (11) _and_ _let_ _p_ ˆ _(λ_ 1 _,_ _λ_ 2 _,_ _λ_ 3 _)_ _be_ _the_ _computed_ _value_ _with_ _floating_ _point_ _arithmetic_ _through_ _the_ _de_ _Casteljau_ _algorithm_ (12) _._ _Then_ a) _Forward_ _error_ _bound:_ - _i_ _j_ =0 �� _bi, j,k_ �� _._ | _p(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ −ˆ _p(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ | ≤ _γ_ 3 _n_ - _n_ _i_ =0 | _bn_ - _i,i_ - _j, j_ | _B_ <sup>_n_</sup> _n_ - _i,i_ - _j, j_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_)_</sup> <sup>≤</sup> <sup>_γ_</sup> <sup>3</sup> <sup>_n_</sup> max _i_ + _j_ + _k_ = _n_ | _bn_ - _i,i_ - _j, j_ | _B_ <sup>_n_</sup> _n_ b) _Running_ _error_ _bound:_ - �� _p(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ −ˆ _p(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ �� ≤ _ε_ 3 _M_ 0 <sup>_(d_</sup> _,_ 0 <sup>_)_</sup> _,_ 0 <sup>−</sup> <sup>2</sup> ��� _b_ ˆ _(_ 0 _d,_ 0 _)_ _,_ 0��� _,_ _where_ _M_ 0 <sup>_(d_</sup> _,_ 0 <sup>_)_</sup> _,_ 0 <sup>_and_</sup> <sup>_b_</sup> <sup>ˆ</sup> <sup>_(_</sup> 0 <sup>_d_</sup> _,_ 0 <sup>_)_</sup> _,_ 0 <sup>_can_</sup> <sup>_be_</sup> <sup>_obtained_</sup> <sup>_while_</sup> <sup>_running_</sup> <sup>_the_</sup> <sup>_de_</sup> <sup>_Casteljau_</sup> <sup>_algorithm_</sup> <sup>_(see_</sup> <sup>_pages_</sup> <sup>_101-102_</sup> <sup>_of_</sup> <sup>_Mainar_</sup> <sup>_and_</sup> <sup>_Peña,_</sup> <sup>_2006a_</sup> _for_ _more_ _details)._ In addition to the de Casteljau algorithm, Schumaker and Volk proposed in Schumaker and Volk (1986) a multivariate Horner-type algorithm (called VS algorithm) with lower computational cost. In Mainar and Peña (2006a), the de Casteljau algorithm for the evaluation of _n_ -degree bivariate polynomials was also compared to the VS algorithm. A posteriori error bound for the VS algorithm was derived and it was also shown that the forward error bounds for both evaluation algorithms only differ in the constants _γ_ 3 _n_ (for the de Casteljau algorithm) and _γ_ 4 _n_ (for the Volk and Schumaker algorithm). The analysis in Mainar and Peña (2006a) for the evaluation of polynomials defined on triangles was generalized in Mainar and Peña (2006b) for the evaluation of multivariate polynomials of _d_ variables in Bernstein–Bézier form. A forward error analysis for the corresponding de Casteljau and VS algorithm was performed. The results in this paper show that both algorithms present similar nice stability properties in the trivariate case and, when increasing the number of variables, the VS algorithm presents better properties than the de Casteljau algorithm. In Delgado and Peña (2013), it was presented and analyzed a generalization of the usual de Casteljau-type algorithm for the evaluation of rational Bernstein–Bézier surfaces defined on triangular patches for surfaces with any number of barycentric coordinates. In particular, a forward error analysis of the generalized algorithm was carried out. Here, for the sake of simplicity, let us recall the triangular case. Given a sequence of positive weights _w_ _i, j,k_, _i_ + _j_ + _k_ = _n_, let us consider the rational triangular Bernstein basis for three barycentric coordinates given by _i_ + _j_ + _k_ = _n,_ <sup>_n_</sup> _i, j,k_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_),_</sup> _rbn_ = _(rb_ <sup>_n_</sup> _i_ <sup>_n_</sup> _i, j,k_ <sup>_)i_</sup> <sup>+</sup> <sup>_j_</sup> <sup>+</sup> <sup>_k_</sup> <sup>=</sup> <sup>_n,_</sup> _rb_ <sup>_n_</sup> _i,_ <sup>_n_</sup> _i, j,k_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_)_</sup> <sup>=</sup> _w_ _i, j,k_ _B_ <sup>_n_</sup> _<u>i, j,k</u>_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_)_</sup> ~~�~~ _i_ + _j_ + _k_ = _n_ <sup>_w_</sup> <sup>_i, j,k_</sup> <sup>_Bn_</sup> _i_ _w_ _i, j,k_ _B_ <sup>_n_</sup> _<u>i</u>_ where _B_ <sup>_n_</sup> _i, j,k_ <sup>are</sup> <sup>the</sup> <sup>Bernstein</sup> <sup>polynomials</sup> <sup>on</sup> <sup>the</sup> <sup>triangle</sup> <sup>_T_</sup> <sup>(see</sup> <sup>(2)).</sup> <sup>Given</sup> <sup>a</sup> <sup>sequence</sup> <sup>of</sup> <sup>real</sup> <sup>numbers</sup> <sup>_ci, j,k_</sup> <sup>,</sup> <sup>_i_</sup> <sup>+</sup> <sup>_j_</sup> <sup>+</sup> <sup>_k_</sup> <sup>=</sup> <sup>_n_</sup> <sup>,</sup> we define a rational Bézier triangle function as _B(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ = _i_ + _j_ + _k_ = _n_ _ci, j,k rb_ <sup>_n_</sup> _i, j,k_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_)._</sup> (13) _ci, j,k rb_ <sup>_n_</sup> _i,_ _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ Rational Bézier functions on triangles can be evaluated by the rational triangular de Casteljau algorithm. In order to evaluate _B(λ_ 1 _,_ _λ_ 2 _,_ _λ_ 3 _)_ with this algorithm, let us denote by _ek_ the multi-index such that the _k_ -th index is 1 and the remaining indices are 0 and, _cα_ <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup>:=</sup> <sup>_c_</sup> _α_ <sup>_w(_</sup> _α_ <sup>0</sup> <sup>_)_</sup> <sup>:=</sup> <sup>_w_</sup> _α_ <sup>for</sup> <sup>all</sup> <sup>multi-index</sup> <sup>_α_</sup> <sup>such</sup> <sup>that</sup> <sup>|</sup> <sup>_α_</sup> <sup>|</sup> <sup>=</sup> <sup>_α_</sup> 1 <sup>+</sup> <sup>_α_</sup> 2 <sup>+</sup> <sup>_α_</sup> 3 <sup>=</sup> <sup>_n_</sup> <sup>.</sup> <sup>Then,</sup> <sup>computing</sup> _α_ <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup>:=</sup> <sup>_c_</sup> _α_ <sup>_w(_</sup> _α_ <sup>0</sup> <sup>_)_</sup> <sup>_(_</sup> _α_ <sup>0</sup> <sup>_)_</sup> <sup>:=</sup> <sup>_w_</sup> _α_ <sup>for</sup> <sup>all</sup> <sup>multi-index</sup> <sup>_α_</sup> <sup>such</sup> <sup>that</sup> <sup>|</sup> <sup>_α_</sup> <sup>|</sup> <sup>=</sup> <sup>_α_</sup> 1 <sup>+</sup> <sup>_α_</sup> 2 <sup>+</sup> <sup>_α_</sup> 3 <sup>=</sup> <sup>_n_</sup> <sup>.</sup> <sup>Then,</sup> <sup>computing</sup> _,_ (14) _α_ <sup>_(r_</sup> _r_ <sup>_)_</sup> <sup>=</sup> _w_ <sup>_(_</sup> _α_ <sup>_r_</sup> _r_ <sup>_)_</sup> <sup>=</sup> �3 _k_ =1 _λk_ _w_ <sup>_(_</sup> _α_ <sup>_r_</sup> _r_ <sup>−</sup> + <sup>1</sup> _e_ <sup>_)_</sup> <sup>_(_</sup> _α_ <sup>_r_</sup> _r_ <sup>−</sup> + <sup>1</sup> _e_ <sup>_)_</sup> _k_ <sup>_,_</sup> _cα_ <sup>_(r_</sup> _r_ <sup>_)_</sup> �3 _<u>k</u>_ <u>=1</u> <sup>_λk_</sup> <sup>_w(_</sup> _<u>α</u>_ <sup>_r_</sup> _<u>r</u>_ <sup>−</sup> <u>+</u> <sup>1</sup> _<u>e</u>_ <sup>_)_</sup> _<u>k</u>_ <sup>_(_</sup> _<u>α</u>_ <sup>_r_</sup> _<u>r</u>_ <sup>−</sup> <u>+</u> <sup>1</sup> _<u>e</u>_ <sup>_)_</sup> _<u>k</u>_ <sup>_c_</sup> _<u>α</u>_ <sup>_(r_</sup> _<u>r</u>_ <sup>−</sup> <u>+</u> <sup>1</sup> _<u>e</u>_ <sup>_)_</sup> _<u>k</u>_ _w_ <sup>_(_</sup> _α_ <sup>_r_</sup> _r_ <sup>_)_</sup> <sup>_(_</sup> _<u>α</u>_ <sup>_r_</sup> _<u>r</u>_ <sup>−</sup> <u>+</u> <sup>1</sup> _<u>e</u>_ <sup>_)_</sup> _<u>k</u>_ <sup>_c_</sup> _<u>α</u>_ <sup>_(r_</sup> _<u>r</u>_ <sup>−</sup> <u>+</u> <sup>1</sup> _<u>e</u>_ <sup>_)_</sup> _<u>k</u>_ _αr_ for _r_ = 1 _,_ _...,_ _n_ and | _αr_ | = _n_ - _r_ . So, _c_ 0 <sup>_(n_</sup> _,_ 0 <sup>_)_</sup> _,_ 0 <sup>=</sup> <sup>_B(λ_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_,_</sup> <sup>_λ_</sup> <sup>3</sup> <sup>_)_</sup> <sup>is</sup> <sup>obtained.</sup> The following result provides a forward error bound for the rational triangular de Casteljau algorithm (Theorem 2 of Delgado and Peña, 2013 for _s_ = 2). Theorem 6. _Let_ _B_ _be_ _the_ _rational_ _triangular_ _function_ (13) _,_ _and_ _let_ _B_ <sup>ˆ</sup> _(λ_ 1 _,_ _λ_ 2 _,_ _λ_ 3 _) be_ _the_ _computed_ _value_ _with_ _floating_ _point_ _arithmetic_ _by_ _the_ _rational_ _triangular_ _de_ _Casteljau_ _algorithm_ (14) _._ _Then_ ��� _B(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ −ˆ _B(λ_ 1 _,λ_ 2 _,λ_ 3 _)_ ��� ≤ _(_ 3 _n_ <sup>2</sup> + 5 _n)u_ + _O(u_ <sup>2</sup> _)_ - �� _ci_ 1 _,i_ 2 _,i_ 3 �� _rbni, j,k_ <sup>_(λ_</sup> <sup>1</sup> <sup>_,λ_</sup> <sup>2</sup> <sup>_,λ_</sup> <sup>3</sup> <sup>_)._</sup> _i_ 1+ _i_ 2+ _i_ 3= _n_ The extension of the previous evaluation algorithm for surfaces with any number of barycentric coordinates was called in Delgado and Peña (2013) the rational triangular de Casteljau-Kahan algorithm since it uses Kahan-summation, which allows us to obtain a bound independent of the number of barycentric coordinates. For the error analysis of this algorithm see Theorem 2, for _s_ ≥ 3, of Delgado and Peña (2013). Finally, let us note that on the numerical stability of linear barycentric rational interpolation, interested readers can see Berrut and Trefethen (2004); Fuda et al. (2022). 4. Optimal stability of the bases for the evaluation Given a basis _u_ = _(u_ 0 _,_ _...,_ _un)_ of a vector space _U_ of real functions defined on a subset _S_ of R <sup>_m_</sup> ( _m_ ≥ 1) and a function _f_ ∈ _U_, we can write _f (x)_ = <sup>�</sup> <sup>_n_</sup> _i_ =0 <sup>_ci_</sup> <sup>_ui(x)_</sup> <sup>for</sup> <sup>all</sup> <sup>_x_</sup> <sup>∈</sup> <sup>_S_</sup> <sup>,</sup> <sup>where</sup> <sup>_ci_</sup> <sup>∈</sup> <sup>R</sup> <sup>for</sup> <sup>all</sup> <sup>_i_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_...,_</sup> <sup>_n_</sup> <sup>.</sup> <sup>The</sup> <sup>stability</sup> <sup>of</sup> <sup>the</sup> <sup>basis</sup> <sup>_u_</sup> <sup>with</sup> respect to the evaluation at a point is measured by the function _Cu_ : _U_ × _I_ → R+ given by _Cu( f, x)_ := - _n_ _i_ =0 | _ci_ _ui(x)_ | _._ (15) This condition number (15) was introduced in Farouki and Rajan (1988) for polynomial evaluation and has been used in the previous section. Later, in Lyche and Peña (2004), a corresponding relative condition number was defined: _cond(u_ ; _f, x)_ = - _n_ _<u>i</u>_ <u>=0</u> <sup>|</sup> <sup>_ci_</sup> <sup>_ui(x)_</sup> <sup>|</sup> ∥ _f_ ∥∞ = - _n_ _<u>i</u>_ <u>=0</u> <sup>|</sup> <sup>_ci_</sup> <sup>_ui(x)_</sup> <sup>|</sup> ~~�~~ <u>�</u> ~~�~~ _n_ ~~�~~ <u>�</u> _i_ =0 <sup>_ci_</sup> <sup>_ui_</sup> ∞ _._ Given two bases, _u_ and _v_, of nonnegative functions, let _A_ be the matrix of change of basis such that _v_ = _uA_ . The following result (see Lemma 3.1 of Lyche and Peña, 2004) compares the conditioning of the bases by means of the nonnegativity of _A_ . Lemma 7. _Let_ _U_ _be_ _a_ _finite_ _dimensional_ _vector_ _space_ _of_ _functions_ _defined_ _on_ _a_ _subset_ _S_ _of_ R <sup>_m_</sup> _._ _Let_ _u_ _and_ _v_ _be_ _bases_ _of_ _nonnegative_ _functions_ _of_ _U_ _._ _Then_ _cond(u_ ; _f, x)_ ≤ _cond(v_ ; _f, x),_ ∀ _f_ ∈ _U,_ ∀ _x_ ∈ _S,_ (16) _if_ _and_ _only_ _if_ _the_ _matrix_ _A_ _such_ _that_ _v_ = _uA_ _is_ _nonnegative._ For the space P <sup>_n_</sup> _(_ [0 _,_ 1] _)_, Theorem 3 of Farouki and Goodman (1996) leads to the optimality of the Bernstein basis. Theorem 8. _Let_ _b_ = _(b_ <sup>_n_</sup> 0 Theorem 8. _Let_ _b_ = _(b_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_b_</sup> _n_ <sup>_n)_</sup> <sup>_be_</sup> <sup>_the_</sup> <sup>_Bernstein_</sup> <sup>_basis_</sup> <sup>_in_</sup> <sup>(1)</sup> <sup>_._</sup> <sup>_Then_</sup> <sup>_there_</sup> <sup>_does_</sup> <sup>_not_</sup> <sup>_exist_</sup> <sup>_(up_</sup> <sup>_to_</sup> <sup>_reordering_</sup> <sup>_and_</sup> <sup>_positive_</sup> <sup>_scaling)_</sup> _another_ _basis_ _u_ = _(u_ 0 _,_ _...,_ _un)_ _of_ _nonnegative_ _functions_ _in_ P <sup>_n_</sup> _(_ [0 _,_ 1] _)_ _such_ _that_ _cond(u_ ; _p,_ _t)_ ≤ _cond(b_ ; _p,_ _t),_ _for_ _all_ _t_ ∈[0 _,_ 1] _and_ _p_ ∈ P <sup>_n_</sup> _(_ [0 _,_ 1] _)._ This result guarantees that the Bernstein basis is best conditioned among all nonnegative bases of the corresponding space of polynomials in the sense that there is not a better conditioned nonnegative basis. Similar optimality results to the previous one are satisfied, for instance, by the B-spline basis (Peña, 1997) or by the bases of spaces of real multivariate functions, such as the tensor product B-spline basis and the triangular Bernstein basis (see Lyche and Peña, 2004), as well as the corresponding rational bases (see Delgado and Peña, 2007b, Delgado and Peña, 2013). Moreover, we have found _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ examples of bases used in CAGD that are always worse conditioned than the corresponding optimal basis. For instance, in Delgado et al. (2023a) it has been proved that the _q_ -Bernstein basis of triangular polynomials is worse conditioned than the Bernstein basis of triangular polynomials. Very general sources of examples of optimally stable bases in the previous sense for spaces of univariate functions were found in Peña (2002) and Peña (2006), and are closely related to the concept of B-basis. This last concept, in turn, is related to the concept of optimal shape preserving basis in CAGD, which we are now going to recall. Given _u,_ _v_ two NTP bases of _U_, then _u_ has better shape preserving properties than _v_ (in the sense that the control polygon of a curve with respect to _u_ is closer in shape to the curve than the control polygon with respect to _v_ ) if the matrix _A_ such that _v_ = _uA_ is (stochastic) TP. Since a stochastic matrix is a nonnegative square matrix whose entries of each row sum 1, observe that, in the previous claim, the matrix _A_ is necessarily stochastic because the bases _u,_ _v_ are both normalized and formed by nonnegative functions. Recall that a normalized B-basis of a space is an NTP basis _b_ = _(b_ 0 _,_ _...,_ _bn)_ of the space such that any other NTP basis _v_ is of the form _v_ = _(b_ 0 _,_ _...,_ _bn)K_, where _K_ is a (stochastic) TP matrix. In other words, a normalized B-basis generates all NTP bases of the space by means of stochastic TP matrices. Therefore, a normalized B-basis has optimal shape preserving properties. Besides, by Theorem 4.2 of Carnicer and Peña (1994b), a space with an NTP basis has always a unique normalized B-basis _b_ . For the space of polynomials of degree less than or equal to _n_ on [ _a,_ _b_ ], the Bernstein basis is the normalized B-basis (see Carnicer and Peña, 1993) and, for the corresponding space of polynomial splines, the B-spline basis is the normalized B-basis (see Theorem 4.6 of Carnicer and Peña, 1994b). There are also some optimal conditioning properties of the collocation matrices of normalized B-bases. Let us start by recalling the case of the Bernstein basis of polynomials studied in Delgado and Peña (2009b). Given a nonsingular matrix _A_ = _(aij)_ 1≤ _i, j_ ≤ _n_, the classical condition number is _κ_ ∞ _(_ _A)_ := ∥ _A_ ∥∞ ∥ _A_ <sup>−1</sup> ∥∞ _._ Moreover, denoting by | _A_ | the matrix whose _(i,_ _j)_ -entry is | _aij_ |, the Skeel condition number is Cond _(_ _A)_ := ∥| _A_ <sup>−1</sup> || _A_ |∥∞ _._ The following result corresponds to Theorem 2.1 of Delgado and Peña (2009b). It shows that the collocation matrices of the Bernstein basis are the best conditioned among all the corresponding collocation matrices of NTP bases of P <sup>_n_</sup> _(_ [0 _,_ 1] _)_, and a similar result using the Skeel condition number of the transposes of the collocation matrices. Theorem 9. _Let_ _(b_ <sup>_n_</sup> 0 <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_b_</sup> _n_ <sup>_n)_</sup> <sup>_be_</sup> <sup>_the_</sup> <sup>_Bernstein_</sup> - <sup>_basis_</sup> - <sup>_of_</sup> <sup>P</sup> <sup>_n(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> - <sup>_in_</sup> <sup>(1)</sup> <sup>_,_</sup> <sup>_let_</sup> - <sup>_(v_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_...,_</sup> <sup>_vn)_</sup> <sup>_be_</sup> <sup>_another_</sup> <sup>_NTP_</sup> <sup>_basis_</sup> <sup>_of_</sup> <sup>P</sup> <sup>_n(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)._</sup> <sup>_For_</sup> <sup>_a_</sup> - <sup>_in_</sup> _b_ <sup>_n_</sup> 0 _b_ <sup>_n_</sup> 0 <sup>_,...,b_</sup> _n_ <sup>_n_</sup> _t_ 0 _,...,tn_ - <sup>_(v_</sup> <sup>0</sup> <sup>_,_</sup> _._ _Then:_ _sequence_ 0 ≤ _t_ 0 _<_ ··· _< tn_ ≤ 1 _,_ _let_ _V_ := _M_ _v_ 0 _,...,vn_ _t_ 0 _,...,tn_ - <sup>_of_</sup> <sup>P</sup> <sup>_n(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> _and_ _B_ := _M_ _κ_ ∞ _(B)_ ≤ _κ_ ∞ _(V ),_ Cond _(B_ <sup>_T_</sup> _)_ ≤ Cond _(V_ <sup>_T_</sup> _)._ In Delgado and Peña (2020), the previous result was extended to the collocation matrices of any normalized B-basis and, in Delgado et al. (2021), to any collocation matrix of the tensor product of normalized B-bases. The previous results concern with the conditioning of TP matrices associated to NTP bases. In the next section, we show some subclasses of TP matrices associated with CAGD representations for which many algebraic computations can be performed with high relative accuracy (HRA). 5. Computations to high relative accuracy associated to Bernstein representations When considering Lagrange interpolation problems, the polynomial interpolant of a function _f_, at a given sequence of nodes satisfying 0 _< t_ 0 _<_ ··· _< tn <_ 1, can be writen in terms of the _n_ -degree Bernstein basis (1) as follows, _p(t)_ = - _n_ _i_ =0 _aib_ <sup>_n_</sup> _i_ <sup>_(t),_</sup> _t_ ∈[0 _,_ 1] _._ The vector of the coefficients _(a_ 0 _,_ _...,_ _an)_ <sup>_T_</sup> is the solution of the linear system of equations _An(a_ 0 _,...,_ _an)_ <sup>_T_</sup> = _( f (t_ 0 _),...,_ _f (tn))_ <sup>_T_</sup> _,_ (17) and the coefficient matrix, = �� _n_ _j_ - 1 _,_ (18) 1≤ _i, j_ ≤ _n_ +1 _An_ := _M_ _b_ <sup>_n_</sup> 0 <sup>_,...,b_</sup> _n_ <sup>_n_</sup> _t_ 0 _,...,tn_ _ti_ <sup>_j_</sup> - <sup>−</sup> 1 <sup>1</sup> <sup>_(_</sup> <sup>1 −</sup> <sup>_ti_</sup> <sup>−1</sup> <sup>_)n_</sup> <sup>−</sup> <sup>_j_</sup> <sup>+1</sup> is called _Bernstein-Vandermonde_ _matrix_ . Proposition 3.1 of Marco and Martínez (2007) proves that _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ _(t j_ - _ti)._ (19) 0≤ _i< j_ ≤ _n_ - _n_ _k_ det _An_ = - _n_ _k_ =0 Let us observe that det _An_ <sup>−1</sup> goes to zero very quickly as the degree increases and then, most numerical algorithms would conclude that _An_ <sup>−1</sup> is a singular matrix. Taking into account the partition of unity property of the Bernstein basis (1), one can easily derive that ∥ _An_ ∥∞ = 1, which implies large values of ∥ _An_ <sup>−1∥∞.</sup> <sup>As</sup> <sup>a</sup> <sup>consequence,</sup> <sup>Bernstein-Vandermonde</sup> <sup>matrices</sup> <sup>are</sup> <sup>ill</sup> <sup>conditioned</sup> <sup>and</sup> <sup>we</sup> <sup>can</sup> predict that the solution of the linear system (17) is very sensitive to small errors in the evaluation of the function to be interpolated (cf. Higham, 2002). Moreover, standard algorithms for the resolution of Bernstein-Vandermonde linear systems may suffer from subtractive cancellations and the accuracy of the solutions is lost when the dimension of the system increases. Bernstein bases defined on compact intervals are TP and then Bernstein-Vandermonde matrices are TP as well. An explicit expression for the determinants involved in the computation of the pivots of the Neville elimination of the BernsteinVandermonde matrix _An_ in (18) can be found in page 363 of Marco and Martínez (2013). Moreover, an algorithm for the fast and accurate computation of the matrix _BD(_ _An)_ in (6), storing the bidiagonal factorization of _An_, is provided. The computation of _BD(_ _An)_ satisfies the non inaccurate cancellation condition and so, its computation to high relative accuracy is guaranteed. Then, using the algorithms in Koev (2007), algebraic problems such as the computation of _An_ <sup>−1,</sup> <sup>the</sup> <sup>determination</sup> <sup>of</sup> <sup>the</sup> <sup>eigenvalues</sup> <sup>and</sup> <sup>singular</sup> <sup>values</sup> <sup>of</sup> <sup>_An_</sup> <sup>,</sup> <sup>as</sup> <sup>well</sup> <sup>as</sup> <sup>the</sup> <sup>resolution</sup> <sup>of</sup> <sup>linear</sup> systems of equations _Anx_ = _b_, for vectors _b_ whose entries have alternating signs, can be performed to high relative accuracy. All these functions require the matrix _BD(_ _An)_ as input argument. As for the analysis of the accuracy in the computation of _BD(_ _An)_ = _(bi, j)_ 1≤ _i, j_ ≤ _n_ +1, Theorem 5.1 of Marco and Martínez (2013) shows that the matrix _(b_ <sup>ˆ</sup> _i, j)_ 1≤ _i, j_ ≤ _n_ +1 computed to this algorithm in floating point arithmetic satisfies _<u>(</u>_ 4 _n_ <sup>2</sup> + 2 _n)ε_ | _b_ <sup>ˆ</sup> _i, j_ - _bi, j_ | ≤ 1 ≤ _i,_ _j_ ≤ _n_ + 1 _,_ 1 − _(_ 4 _n_ <sup>2</sup> + 2 _n)ε_ <sup>_bi, j,_</sup> where _ε_ denotes the machine precision. The previous bounds for the errors in the entries, confirm that the algorithm computes _BD(_ _An)_ accurately. In addition, the sensitivity of the bidiagonal factorization with respect to perturbations of _ti_, _i_ = 1 _,_ _...,_ _n_ + 1, is also analyzed. In this sense, Theorem 6.1 of Marco and Martínez (2013) derives a condition number for Benstein-Vandermonde matrices _An_ with respect to perturbations of the nodes. For negative degrees, Bernstein bases were introduced in Goldman (1999). Given _m_ ∈ N, the _(n_ +1 _)_ -dimensional _Bernstein_ _basis_ _of_ _degree_ - _m_ is the basis of rational functions defined as _(b_ 0 <sup>−</sup> <sup>_m_</sup> 0 <sup>−</sup> <sup>_m_</sup> _,_ _b_ 1 <sup>−</sup> <sup>_m_</sup> 1 <sup>−</sup> <sup>_m_</sup> _,...,_ _bn_ <sup>−</sup> <sup>_m_</sup> _n_ <sup>−</sup> <sup>_m_</sup> _),_ _b_ <sup>−</sup> _i_ <sup>_m_</sup> <sup>−</sup> _i_ <sup>_m_</sup> _(t)_ := �− _m_ _t_ <sup>_i_</sup> _(_ 1 − _t)_ <sup>−</sup> <sup>_m_</sup> <sup>−</sup> <sup>_i_</sup> _,_ _i_ = 0 _,...,_ _n,_ (20) _i_ with the convention �− _m_ := <sup>_<u>(</u>_</sup> <sup>−</sup> <sup>_<u>)</u>_</sup> <sup>···</sup> <sup>_<u>(</u>_</sup> <sup>−</sup> <sup>_m_</sup> <sup>−</sup> <sup>_i_</sup> <sup>+ 1</sup> <sup>_<u>)</u>_</sup> = _(_ −1 _)_ <sup>_i_</sup> _i_ ! _i_ - _m_ + _i_ - 1 _i_ := <sup>_<u>(</u>_</sup> <sup>−</sup> <sup>_m)(_</sup> <sup>−</sup> <sup>_m_</sup> <sup>−</sup> <sup>1</sup> <sup>_<u>)</u>_</sup> <sup>···</sup> <sup>_<u>(</u>_</sup> <sup>−</sup> <sup>_m_</sup> <sup>−</sup> <sup>_i_</sup> <sup>+ 1</sup> <sup>_<u>)</u>_</sup> _,_ _i_ ∈ N ∪{0} _._ (21) Bernstein rational functions in (20) are non-negative, linearly independent, and form a partition of unity over the interval _(_ −∞ _,_ 0] (cf. Goldman, 1999). They generate spaces of rational functions allowing an exact representation of functions, which are analytic in a neighborhood of zero, and uniformly approximate all continuous functions vanishing at minus infinity. These rational bases share many properties of Bernstein polynomials: they satisfy Descartes’ Rule of Signs, form a partition of unity, and possess recurrence relations, as well as two-term formulas for differentiation and degree elevation. Moreover, they are known to be TP (see Mainar et al., 2020b). In Mainar et al. (2021) it is shown that the collocation matrix of the Bernstein basis of degree - _m_ in (20), _b_ <sup>−</sup> 0 <sup>_m_</sup> _n_ �� _m_ + _j_ - 2� _(_ - _ti)_ <sup>_j_</sup> <sup>−1</sup> _(_ 1 − _ti)_ <sup>−</sup> <sup>_m_</sup> <sup>−</sup> <sup>_j_</sup> <sup>+1</sup> _j_ - 1 _,_ 1≤ _i, j_ ≤ _n_ +1 = _A_ - _m_ = _M_ <sup>−</sup> 0 <sup>_m_</sup> _,...,bn_ <sup>−</sup> <sup>_m_</sup> _t_ 0 _,...,tn_ can be factorized as in (3), and the entries _mi, j,_ _m_ - _i, j_ and _pi,i_ of _F_ _i_, _G_ _i_, _i_ = 1 _,_ _...,_ _n_, and _D_, respectively, satisfy formulae (13) in page 6 of Mainar et al. (2021). The computation of this bidiagonal factorization can be performed with no inaccurate cancellations and algebraic problems related to these matrices are solved to high relative accuracy. In the literature, other extensions of Bernstein-Vandermonde matrices are analyzed for several generalizations of Bernstein bases. Unfortunately, these collocation matrices are also badly conditioned and traditional algorithms fail to obtain accurate solutions when solving related algebraic problems. In Mainar and Peña (2018), the Bernstein basis (1) is generalized by considering two nonnegative continuous functions _f,_ _g_ : _I_ → R such that _f (t)_ ̸= 0, _g(t)_ ̸= 0 for all _t_ ∈ _(a,_ _b)_ and _f /g_ is a strictly increasing function on _I_ . The system _(u_ <sup>_n_</sup> 0 <sup>_n_</sup> 0 <sup>_,..., u_</sup> _n_ <sup>_n),_</sup> _u_ <sup>_n_</sup> _i_ <sup>_n_</sup> _i_ <sup>_(t)_</sup> <sup>:=</sup> - _n_ _i_ _f_ <sup>_i_</sup> _(t)g_ <sup>_n_</sup> <sup>−</sup> <sup>_i_</sup> _(t),_ _t_ ∈[ _a,_ _b_ ] _,_ _i_ = 0 _,...,_ _n,_ (22) _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ is called _f g-Bernstein_ _basis_ . For a given sequence of nodes, _a_ _< t_ 1 _<_ ··· _< tn_ +1 _< b_, the _f g_ -Vandermonde matrix at nodes _ti_, _i_ = 1 _,_ _...,_ _n_ + 1, is defined as _u_ <sup>_n_</sup> 0 �� _n_ _j_ - 1 = _._ (23) 1≤ _i, j_ ≤ _n_ +1 _Mn_ := _M_ _t_ 0 _,...,tn_ _u_ <sup>_n_</sup> 0 <sup>_,...,u_</sup> _n_ <sup>_n_</sup> _f_ <sup>_j_</sup> <sup>−1</sup> _(ti)g_ <sup>_n_</sup> <sup>−</sup> <sup>_j_</sup> <sup>+1</sup> _(ti)_ Theorem 3 of Mainar and Peña (2018) obtains an explicit expression of the bidiagonal factorization (3) of _f g_ -Vandermonde matrices. In addition, an algorithm for its efficient and accurate computation is provided. It is also proved that a sufficient condition to obtain _BD(Mn)_ to high relative accuracy is that the expressions _f (ti)g(tk)_ - _f (tk)g(ti)_ for all _k_ _< i_ are computed to high relative accuracy. Algebraic problems with collocation matrices of _f g_ -Bernstein bases using algebraic, trigonometric or hyperbolic polynomials are accurately solved using the provided factorization. The _q-Bernstein_ _polynomials_ of degree _n_ on the interval [0 _,_ 1] are defined as _k_ =0 _q_ <sup>_n_</sup> _i_ <sup>_(t)_</sup> <sup>:=</sup> - _n_ _k_ _q_ _t_ <sup>_i_</sup> _n_ −� _i_ −1 _(_ 1 − _q_ <sup>_k_</sup> _t),_ _t_ ∈[0 _,_ 1] _,_ _i_ = 0 _,...,_ _n,_ (24) where, for _q_ _>_ 0, the _q_ -binomial coefficients for _q_ _>_ 0, the _q_ -binomial coefficients _k_ _q_ <sup>,</sup> <sup>_k_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_...,_</sup> <sup>_n_</sup> <sup>,</sup> <sup>are</sup> <sup>given</sup> <sup>by</sup> - _n_ - [ _n_ ] _<u>q</u>_ ! - _n_ _k_ _k_ _q_ [ _n_ ] _<u>q</u>_ ! := [ _k_ ] _q_ ![ _n_ - _k_ ] _q_ ! and, for any non-negative integer _n_, the _q_ -factorial [ _n_ ] _q_ ! is defined by [ _n_ ] _q_ ! := [ _n_ ] _q_ [ _n_ - 1] _q_ ···[1] _q,_ and the _q_ -integer [ _n_ ] _q_ by (25) [ _n_ ] _q_ := ⎧ ⎨ ⎩ 1 + _q_ + ··· + _q_ <sup>_n_</sup> <sup>−1</sup> = <sup>1</sup> 1 <sup>−</sup> - <sup>_q_</sup> _q_ <sup>_n_</sup> <sup>_,_</sup> if _q_ ̸ = 1 _,_ 1 + _q_ + ··· + _q_ <sup>_n_</sup> <sup>−1</sup> = <sup>1 −</sup> <sup>_qn_</sup> 1 − _q_ _n,_ if _q_ = 1 _,_ (cf. Phillips, 1997; Oruc¸ and Phillips, 2003; Phillips, 2010). For the particular case _q_ = 1, the q-Bernstein basis _(q_ <sup>_n_</sup> 0 For the particular case _q_ = 1, the q-Bernstein basis _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>coincides</sup> <sup>with</sup> <sup>the</sup> <sup>Bernstein</sup> <sup>basis</sup> <sup>(1).</sup> <sup>By</sup> <sup>Corollary</sup> <sup>3.3</sup> <sup>of</sup> Carnicer and Peña (1994b), for any _q_ ∈ _(_ 0 _,_ 1], the basis _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>is</sup> <sup>TP</sup> <sup>on</sup> <sup>the</sup> <sup>interval</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>and</sup> <sup>STP</sup> <sup>on</sup> <sup>_(_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_)_</sup> <sup>.</sup> <sup>Moreover,</sup> Carnicer and Peña (1994b), for any _q_ ∈ _(_ 0 _,_ 1], the basis _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>is</sup> <sup>TP</sup> <sup>on</sup> <sup>the</sup> <sup>interval</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>and</sup> <sup>STP</sup> <sup>on</sup> <sup>_(_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_)_</sup> <sup>.</sup> <sup>Moreover,</sup> the partition of unity property of _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>can</sup> <sup>be</sup> <sup>deduced</sup> <sup>from</sup> <sup>Proposition</sup> <sup>5.2</sup> <sup>of</sup> <sup>Goldman</sup> <sup>and</sup> <sup>Simeonov</sup> <sup>(2015a).</sup> In Delgado and Peña (2015), the collocation matrices at ordered sequences of nodes on _(_ 0 _,_ 1 _)_ of _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>are</sup> <sup>called</sup> q-Bernstein–Vandermonde matrices. These matrices are STP and using the bidiagonal factorization for their converse matrix, an algorithm for the resolution of algebraic problems with these matrices to high relative accuracy is achieved. partition of unity property of _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>can</sup> <sup>be</sup> <sup>deduced</sup> <sup>from</sup> <sup>Proposition</sup> <sup>5.2</sup> <sup>of</sup> <sup>Goldman</sup> <sup>and</sup> <sup>Simeonov</sup> <sup>(2015a).</sup> In Delgado and Peña (2015), the collocation matrices at ordered sequences of nodes on _(_ 0 _,_ 1 _)_ of _(q_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_q_</sup> _n_ <sup>_n)_</sup> <sup>are</sup> For a given _h_ ∈ R, the _h-Bernstein_ _basis_ of P <sup>_n_</sup> _(_ [0 _,_ 1] _)_ is _(H_ <sup>_n_</sup> 0 <sup>_n_</sup> 0 <sup>_,..., H_</sup> _n_ <sup>_n),_</sup> _H_ <sup>_n_</sup> _i_ <sup>_(_</sup> <sup>_n_</sup> _i_ <sup>_(t)_</sup> <sup>:=</sup> �� _i_ −1 - _n_ _<u>k</u>_ <u>=0</u> <sup>_(t_</sup> <sup>+</sup> <sup>_kh)_</sup> <sup>�</sup> <sup>_n_</sup> _<u>k</u>_ <u>=</u> <sup>−</sup> <u>0</u> <sup>_i_</sup> <sup>−1</sup> _(_ 1 − _t_ + _kh)_ ~~�~~ _n_ −1 _i_ _k_ =0 <sup>_(_</sup> <sup>1 +</sup> <sup>_kh)_</sup> _,_ _k_ = _i,...,_ _n,_ (26) (cf. Goldman and Simeonov, 2015b). In Marco et al. (2019), the collocation matrices of _(H_ <sup>_n_</sup> 0 <sup>_,_</sup> <sup>_...,_</sup> <sup>_H_</sup> _n_ <sup>_n)_</sup> <sup>,</sup> <sup>at</sup> <sup>ordered</sup> <sup>sequences</sup> <sup>of</sup> <sup>nodes</sup> <sup>on</sup> <sup>_(_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_)_</sup> <sup>,</sup> <sup>are</sup> <sup>called</sup> h-Bernstein–Vandermonde matrices. Their strict total positivity is proved and an algorithm for the fast and accurate computation of the bidiagonal factorization is proposed. In Delgado et al. (2023b), new bidiagonal decompositions of Vandermonde and related matrices such as the (q-, h) Bernstein-Vandermonde ones, among others were introduced. These new decompositions can be computed efficiently and to high relative accuracy for TP matrices of the above classes of arbitrary rank. In turn, matrix computations (e.g., eigenvalue computation) can also be performed efficiently and to high relative accuracy for potentially singular TP matrices of Vandermonde-type. Given real values _d_ 0 _,_ _...,_ _dn_ and _t_ 0 ∈ _(_ 0 _,_ 1 _)_, the corresponding Taylor polynomial interpolant is _p_ ∈ P <sup>_n_</sup> _(_ [0 _,_ 1] _)_ such that _p_ <sup>_(k)_</sup> _(t_ 0 _)_ = _dk_, _k_ = 0 _,_ _...,_ _n_ . The Taylor interpolant can be expressed in terms of the Bernstein basis (1) as _p(t)_ = - _n_ _i_ =0 _cib_ <sup>_n_</sup> _i_ <sup>_(t),_</sup> _t_ ∈[0 _,_ 1] _,_ _cib_ <sup>_n_</sup> _i_ where _(c_ 0 _,_ _...,_ _cn)_ <sup>_T_</sup> is the solution of the linear system _W (c_ 0 _,...,_ _cn)_ <sup>_T_</sup> = _(d_ 0 _,...,_ _dn)_ <sup>_T_</sup> _,_ (27) and _W_ is the wronskian matrix _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ _W_ = _((b_ <sup>_n_</sup> _j_ −1 <sup>_)(i_</sup> <sup>−1</sup> <sup>_)(t_</sup> <sup>0</sup> <sup>_))_</sup> <sup>1≤</sup> <sup>_i, j_</sup> <sup>≤</sup> <sup>_n_</sup> <sup>+1</sup> <sup>_,_</sup> where the _i_ -th derivative of a function _f_ at the value _t_ is denoted by _f_ <sup>_(i)_</sup> _(t)_ . In Mainar et al. (2021), wronskian matrices of Bernstein polynomials and other related bases, including Bernstein basis of negative degree or the negative binomial bases are analyzed. It is shown that these matrices are not TP. Nevertheless, they are closely related to TP matrices whose bidiagonal decomposition to high relative accuracy is obtained. Using this factorization, the computation of algebraic problems related to these non totally positive matrices is also achieved to high relative accuracy. Given _r,_ _l_ ∈ N ∪{0} and _r_ + _l_ ≤ _n_ ∈ N, let P <sup>_n_</sup> _r,l_ <sup>_(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> <sup>= span{</sup> <sup>_bn_</sup> _r_ <sup>_,_</sup> <sup>_...,_</sup> <sup>_bn_</sup> _n_ - _l_ <sup>}.</sup> <sup>Clearly,</sup> <sup>P</sup> <sup>_n_</sup> _r,l_ <sup>_(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> <sup>is</sup> <sup>formed</sup> <sup>by</sup> <sup>all</sup> <sup>polynomials</sup> defined on [0 _,_ 1], whose degree is at most _n_ and their derivatives of order at most _r_ - 1 at _t_ = 0 and of order at most _l_ - 1 at _t_ = 1 vanish. Given _r,_ _l_ ∈ N ∪{0} and _r_ + _l_ ≤ _n_ ∈ N, let P <sup>_n_</sup> _r_ <sup>_n_</sup> _r_ <sup>_,_</sup> <sup>_...,_</sup> <sup>_bn_</sup> _n_ <sup>_n_</sup> _r,l_ <sup>_(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> <sup>= span{</sup> <sup>_bn_</sup> _r_ <sup>_n_</sup> _n_ - _l_ <sup>}.</sup> <sup>Clearly,</sup> <sup>P</sup> <sup>_n_</sup> _r_ When considering the following inner product �1 ⟨ _f, g_ ⟩:= _t_ <sup>_α_</sup> _(_ 1 − _t)_ <sup>_β_</sup> _f (t)g(t)_ _dt,_ _α,β >_ −1 _,_ (28) 0 the _constrained_ _dual_ _Bernstein_ _basis_ of degree _n_ is the basis _(Dr_ <sup>_(n,r,l)_</sup> _r_ <sup>_(n,r,l)_</sup> _,_ _...,_ _Dn_ <sup>_(n_</sup> - <sup>_,r_</sup> _l_ <sup>_,l)_</sup> _n_ <sup>_(n_</sup> - <sup>_,r_</sup> _l_ <sup>_,l)_</sup> _)_ of P <sup>_n_</sup> _r_ <sup>_n_</sup> _r,l_ <sup>_(_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_)_</sup> <sup>satisfying</sup> ⟨ _D_ <sup>_(_</sup> _i_ <sup>_n,r,l)_</sup> <sup>_n_</sup> _j_ <sup>⟩=</sup> <sup>_δi, j_</sup> <sup>=</sup> <sup>_(_</sup> _i_ <sup>_n,r,l)_</sup> _,_ _b_ <sup>_n_</sup> _j_ 1 _,_ for _i_ = _j,_ 0 _,_ for _i_ ̸ = _j,_ for _i,_ _j_ = _r,_ _...,_ _n_ - _l_ (cf. Lewanowicz and Wo´zny, 2011). In Mainar et al. (2022a), it is shown that the matrix _M_ <sup>_r,l_</sup> satisfying _n_ <sup>_n_</sup> - _l_ <sup>_)T_</sup> (29) _(b_ <sup>_n_</sup> _r_ <sup>_n_</sup> _r_ <sup>_,...,_</sup> <sup>_b_</sup> _n_ <sup>_n_</sup> _n_ <sup>_n_</sup> - _l_ <sup>_)T_</sup> <sup>=</sup> <sup>_Mr,l(Dn_</sup> _r_ <sup>_n_</sup> _r_ <sup>_,..., D_</sup> _n_ <sup>_n_</sup> is the gramian matrix of _(b_ <sup>_n_</sup> _r_ <sup>_,_</sup> <sup>_...,_</sup> <sup>_bn_</sup> _n_ - _l_ <sup>_)_</sup> <sup>with</sup> <sup>respect</sup> <sup>(28)</sup> <sup>and</sup> <sup>can</sup> <sup>be</sup> <sup>described</sup> <sup>as</sup> <sup>_Mr,l_</sup> <sup>=</sup> <sup>_(Mi, j)_</sup> <sup>1≤</sup> <sup>_i. j_</sup> <sup>≤</sup> <sup>_m_</sup> <sup>+1,</sup> <sup>with</sup> <sup>_m_</sup> <sup>=:</sup> <sup>_n_</sup> <sup>−</sup> <sup>_r_</sup> <sup>−</sup> <sup>_l_</sup> <sup>,</sup> and <sup>_n_</sup> _r_ <sup>_,_</sup> <sup>_...,_</sup> <sup>_bn_</sup> _n_ is the gramian matrix of _(b_ <sup>_n_</sup> _r_ �� _n_ _Mi, j_ := _n_ _r_ + _i_ - 1 _r_ + _j_ - 1 - _<u>�(</u>_ 2 _r_ + _i_ + _j_ + _<u>α</u>_ - 1 _<u>)�(</u>_ 2 _n_ - 2 _r_ - _i_ - _j_ + _<u>β</u>_ + 3 _<u>)</u>_ _._ (30) _�(_ 2 _n_ + _α_ + _β_ + 2 _)_ Theorem 2 of Mainar et al. (2022a) proves that _M_ <sup>_r,l_</sup> is an STP matrix, providing the multipliers and the diagonal pivots of its Neville elimination and so, an explicit expression of the entries of the bidiagonal factorization (3) of _M_ <sup>_r,l_</sup> and its inverse. Furthermore, Corollary 1 shows that whenever _�(α_ + 1 _)_, _�(β_ + 1 _)_ and _�(α_ + _β_ + 2 _)_ can be evaluated to high relative accuracy, _M_ <sup>_r,l_</sup> and its inverse _(M_ <sup>_r,l_</sup> _)_ <sup>−1</sup> can also be computed to high relative accuracy. Note that these conditions are satisfied for values _α,_ _β_ ∈ N ∪{0} since, in this case, _�(α_ + 1 _)_ = _α_ !, _�(β_ + 1 _)_ = _β_ !, _�(α_ + _β_ + 2 _)_ = _(α_ + _β_ + 1 _)_ !. In addition, they also hold for _α,_ _β_ ∈{−1 _/_ 2 _,_ 1 _/_ 2}, corresponding to four Chebyshev-type weights, since for any _n_ ∈ N, _�(n_ + 1 _/_ 2 _)_ = <sup>_<u>(</u>_</sup> 4 <sup><u>2</u></sup> <sup>_<u>nn</u>_</sup> _n_ <sup>_<u>)</u>_</sup> <u>!</u> <sup><u>!</u></sup> √ _<u>π</u>_ . In Section 4 of Mainar et al. (2022a) the strict total positivity of gramian matrices of Bernstein bases of negative degree is proved and their bidiagonal factorization to derive accurate algorithms is also deduced. Finally, let us observe that the proposed factorizations can be used in degree reduction methods or in the approximation, in the least-squares sense, of curves by Bézier curves, requiring the inversion of Bernstein mass matrices (30). Other approaches for the inversion of Bernstein mass matrices can be found in Allen and Kirby (2020). CRediT authorship contribution statement J. Delgado: Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing - original draft, Writing - review & editing. E. Mainar: Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing - original draft, Writing - review & editing. J.M. Peña: Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing - original draft, Writing - review & editing. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability Data will be made available on request. _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ Acknowledgement We thank the anonymous referees for their helpful comments and suggestions, which have improved this paper. References Allen, L., Kirby, R.C., 2020. Structured inversion of the [Bernstein](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib520E10526DEB2420335FB96E54B4BA75s1) mass matrix. SIAM J. Matrix Anal. Appl. 41, 413–431. Ando, T., 1987. Totally positive [matrices.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib6A3441C04BEEFE670609A2C15E84105Fs1) Linear Algebra Appl. 90, 165–219. Bhatta, D.D., Bhatti, M.I., 2006. Numerical solution of KdV equation [using](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib6B04A6E0C5000A488761395DB435EF65s1) modified Bernstein polynomials. Appl. Math. Comput. 174, 1255–1268. Bhatti, M.I., Bracken, P., 2012. Solutions of differential equations in a Bernstein polynomial basis. J. Comput. Appl. Math. 205, 272–280. Bellucci, M.A., Trout, B.L., 2014. Bézier curve string [method](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib27AB1256835E03E18734592323BB56CCs1) for the study of rare events. J. Chem. Phys. 141, 074110. Berrut, J.P., Trefethen, L.N., 2004. Barycentric [Lagrange](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibF2A4CEEF424E8FECD63226C88D2C91F4s1) interpolation. SIAM Rev. 46 (3), 501–517. Carnicer, J.M., Peña, J.M., 1994a. Total positivity and optimal bases. In: Gasca, [M.,](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibBE292F753FF8EECC483101779502343Bs1) Micchelli, C.A. (Eds.), Total Positivity and Its Applications. Kluwer Academic, Dordrecht, [pp.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibBE292F753FF8EECC483101779502343Bs1) 133–155. Carnicer, J.M., Peña, J.M., 1993. Shape preserving representations [and](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibB980610CFAA9D05A321A87E4251DD80Cs1) optimality of the Bernstein basis. Adv. Comput. Math. 1, 173–196. Carnicer, J.M., Peña, J.M., 1994b. Totally positive bases for shape preserving [curve](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib8283E0404434129FE61FDE6B3E1E298Fs1) design and optimality of B-splines. Comput. Aided Geom. Des. 11, 633–654. Delgado, J., Orera, H., Peña, J.M., 2021. Optimal properties [of](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib6802812A51BAE8D66AD540EC976A4316s1) tensor product of B-bases. Appl. Math. Lett. 121, 107473. Delgado, J., Orera, H., Peña, J.M., 2023a. An evaluation algorithm for _q_ –Bézier [triangular](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib9C74CCB6015CDE9E9A717FAA3B5C3D06s1) patches formed by convex combinations. J. Comput. Appl. Math. 428, [115184.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib9C74CCB6015CDE9E9A717FAA3B5C3D06s1) Delgado, J., Peña, J.M., 2007a. Are rational Bézier surfaces [monotonicity](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib790D297A68B1248D440221D95B9D3A4As1) preserving? Comput. Aided Geom. Des. 24, 303–306. Delgado, J., Peña, J.M., 2007b. A corner cutting algorithm for evaluating [rational](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib33671A9A89E2F6157C8D716C8C22021Fs1) Bézier surfaces and the optimal stability of the basis. SIAM J. Sci. Comput. 29, [1668–1682.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib33671A9A89E2F6157C8D716C8C22021Fs1) Delgado, J., Peña, J.M., 2008. Error analysis of efficient evaluation [algorithms](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib11C8EADEEE8E5CCB2FC40469A1E5C563s1) for tensor product surfaces. J. Comput. Appl. Math. 219, 156–169. Delgado, J., Peña, J.M., 2009a. Running relative error for the [evaluation](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib73C58E83F21D34823C1AFB4AFC27DD45s1) of polynomials. SIAM J. Sci. Comput. 31, 3905–3921. Delgado, J., Peña, J.M., 2009b. Optimal conditioning of [Bernstein](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib6E7DE1BB2C0D63A30B17484E7D2E27F2s1) collocation matrices. SIAM J. Matrix Anal. Appl. 31, 990–996. Delgado, J., Peña, J.M., 2010. Running error for the evaluation of rational Bézier surfaces. J. Comput. Appl. Math. 233, 1685–1696. Delgado, J., Peña, J.M., 2011. Running error for the evaluation of rational [Bézier](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibC30DAB8A0D0D162AA2EE5A3E8250654Es1) surfaces through a robust algorithm. J. Comput. Appl. Math. 235, 1781–1789. Delgado, J., Peña, J.M., 2013. On the evaluation of rational triangular Bézier [surfaces](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib43B7799AE8E95DEE35A86E0D5B12213Ds1) and the optimal stability of the basis. Adv. Comput. Math. 38, 701–721. Delgado, J., Peña, J.M., 2015. Accurate computations with collocation [matrices](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib9E8765A63016F7526F6BEB7332105050s1) of q-Bernstein polynomials. SIAM J. Matrix Anal. Appl. 36, 880–893. Delgado, J., Peña, J.M., 2020. Extremal and optimal [properties](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibD003D36B5509E8C61259C56F1817512Es1) of B-bases collocation matrices. Numer. Math. 146, 105–118. Delgado, J., Koev, P., Marco, A., Martínez, J.-J., Peña, J.M., Persson, P.-O., [Spasov,](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibB75A36DB2221FE8AE74A0AA759364A3Es1) S., 2023b. Bidiagonal decompositions of Vandermonde-type matrices of arbitrary rank. J. Comput. Appl. Math. 426, 115064. Demmel, J., Dumitriu, I., Holtz, O., Koev, P., 2008. Accurate and [efficient](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibC8B0AE736A4DD24E75A4625FB457781Es1) expression evaluation and linear algebra. Acta Numer. 17, 87–145. Demmel, J., Gu, M., Eisenstat, S., Slapnicar, I., Veselic, K., Drmac, Z., 1999. [Computing](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib1D12D4047574737B9B45EA34BB65403Fs1) the singular value decomposition with high relative accuracy. Linear Algebra [Appl.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib1D12D4047574737B9B45EA34BB65403Fs1) 299, 21–80. Demmel, J., Koev, P., 2005. The accurate and efficient solution of a totally [positive](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib289B3677C210B536AA3D2D260F50F425s1) generalized Vandermonde linear system. SIAM J. Matrix Anal. Appl. 27, [42–52.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib289B3677C210B536AA3D2D260F50F425s1) Fallat, S.M., Johnson, C.R., 2011. Totally Nonnegative Matrices. Princeton Series in Applied Mathematics. Princeton University Press, Princeton, NJ. Farouki, R.T., 1991. On the stability of transformations between power and Bernstein polynomial forms. Comput. Aided Geom. Des. 8, 29–36. Farouki, R.T., 2012. The Bernstein polynomial basis: a [centennial](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib8FA14CDD754F91CC6554C9E71929CCE7s1) retrospective. Comput. Aided Geom. Des. 29, 379–419. Farouki, R.T., Goodman, T.N.T., 1996. On the optimal [stability](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib2A5271C118492B7BB2274DD278A033BAs1) of the Bernstein basis. Math. Comput. 65, 1553–1566. Farouki, R.T., Rajan, V.T., 1987. On the numerical condition of [polynomials](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib4592F81BE587F0207827DEDFB19EEF6Bs1) in Bernstein form. Comput. Aided Geom. Des. 4, 191–216. Farouki, R.T., Rajan, V.T., 1988. Algorithms for [polynomials](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib11AEDD0E432747C2BCD97B82808D24A0s1) in Bernstein form. Comput. Aided Geom. Des. 5, 1–26. Floater, M., Peña, J.M., 2000. Monotonicity [preservation](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibBE57AE79A8399091BE4E679335D06A32s1) on triangles. Math. Comput. 69, 1505–1519. Fuda, C., Campagna, R., Hormann, K., 2022. On the numerical stability [of](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib79C6963DDA1C6C4479F0513C2A7E0F3Cs1) linear barycentric rational interpolation. Numer. Math. 152, 761–786. Gasca, M., Peña, J.M., 1992. Total positivity and [Neville](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibA61836CFE7467A772DC9D09F18F99434s1) elimination. Linear Algebra Appl. 165, 25–44. Gasca, M., Peña, J.M., 1994. A matricial description of Neville [elimination](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib0F74B883A13BBE23926314DC22AF6846s1) with applications to total positivity. Linear Algebra Appl. 202, 33–53. Gasca, M., Peña, J.M., 1996. On factorizations of totally positive matrices. In: Gasca, M., Micchelli, C.A. (Eds.), Total Positivity and Its Applications. Kluwer Academic Publishers, [Dordrecht,](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibE98C1CC8185506236165FA8EE998D599s1) the Netherlands, pp. 109–130. Goldman, R., 1999. The rational Bernstein bases and the [multirational](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib1026009204016B124530B843345754CDs1) blossoms. Comput. Aided Geom. Des. 16, 701–738. Goldman, R., Simeonov, P., 2015a. Quantum Bernstein bases [and](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibBB7E8732AFC60AB2C8D68B9F00890E80s1) quantum Bézier curves. J. Comput. Appl. Math. 288, 284–303. Goldman, R., Simeonov, P., 2015b. Two essential properties [of](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibCD6A2F8F308C576980775137BEC968E1s1) (q,h)-Bernstein-Bézier curves. Appl. Numer. Math. 96, 82–93. Higham, N.J., 2002. Accuracy and Stability of [Numerical](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib5256359FD0EA3127A22051C4DEA796ABs1) Algorithms, second ed. SIAM, Philadelphia. Hoschek, J., Lasser, D., 1993. Fundamentals of [Computer](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib2F59EE1F2B1C861B3DA3CEE2278D8514s1) Aided Geometric Design. AK Peters, Wellesley, MA. Koev, P., 2005. Accurate eigenvalues and SVDs of totally [nonnegative](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibF546B83A9A3C8B0967010E76FB248F34s1) matrices. SIAM J. Matrix Anal. Appl. 27, 1–23. Koev, P., 2007. Accurate computations with totally [nonnegative](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib66BF03E0487B9EDB67AD0FFB09AB9F27s1) matrices. SIAM J. Matrix Anal. Appl. 29, 731–751. Lewanowicz, S., Wo´zny, P., 2011. Bézier representation of the [constrained](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib6F5EC9C037120FCB047AC9BE1B3B0CF6s1) dual Bernstein polynomials. Appl. Math. Comput. 218, 4580–4586. Lyche, T., Peña, J.M., 2004. Optimally stable [multivariate](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib0404E456638A308E551AD29D31F0F95As1) bases. Adv. Comput. Math. 20, 149–159. Mainar, E., Peña, J.M., 1999. Error analysis of [corner](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib1C1EC38003C9BB7136D3B3F84ADA2A0Ds1) cutting algorithms. Numer. Algorithms 22, 41–52. Mainar, E., Peña, J.M., 2006a. Running error analysis of evaluation algorithms [for](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibEAE26E10D0082F509EED66B4505E074Fs1) bivariate polynomials in barycentric Bernstein form. Computing 77, 97–111. Mainar, E., Peña, J.M., 2006b. Evaluation algorithms for multivariate polynomials in Bernstein-Bézier form. J. Approx. Theory 143, 44–61. Mainar, E., Peña, J.M., 2018. Accurate computations with collocation [matrices](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibE7E417B5FD5DE0693BF7DD10C0B8C54Fs1) of a general class of bases. Numer. Linear Algebra Appl. 25, e2184. Mainar, E., Peña, J.M., Rubio, B., 2020a. Accurate bidiagonal decomposition of [collocation](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib7A9490A9B9643A67CAC812FEE2A98C47s1) matrices of weighted _ϕ_ -transformed systems. Numer. Linear Algebra Appl. [27,](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib7A9490A9B9643A67CAC812FEE2A98C47s1) e2295. Mainar, E., Peña, J.M., Rubio, B., 2020b. Evaluation and subdivision [algorithms](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibA46DA017A353A88AB7A72A36F7E5FD88s1) for general classes of totally positive rational bases. Comput. Aided Geom. Des. 81, 101900. Mainar, E., Peña, J.M., Rubio, B., 2021. Accurate and efficient computations [with](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib7C0EB4373CE9C6F9D266EFC3EEC7F8D6s1) Wronskian matrices of Bernstein and related bases. Numer. Linear Algebra Appl. [29,](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib7C0EB4373CE9C6F9D266EFC3EEC7F8D6s1) e2423. Mainar, E., Peña, J.M., Rubio, B., 2022a. Total positivity and accurate [computations](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib2C179F163A9C5C49C5897E33F08A2DA4s1) with Gram matrices of Bernstein bases. Numer. Algorithms 91, 841–859. Mainar, E., Peña, J.M., Rubio, B., 2022b. Accurate computations [with](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib2E623293430B8F30E107F83590E545A9s1) matrices related to bases { _t_ <sup>_i_</sup> _e_ <sup>_λt_</sup> }. Adv. Comput. Math. 48, 38. Mainar, E., Peña, J.M., Rubio, B., 2022c. Accurate computations with Gram [and](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib5E76726E2A0189CF148336D9530C98FFs1) Wronskian matrices of geometric and Poisson bases. Rev. R. Acad. Cienc. Exactas Fís. Nat., [Ser.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib5E76726E2A0189CF148336D9530C98FFs1) A Mat. 116, 126. Marco, A., Martínez, J.J., 2007. A fast and accurate algorithm for solving [Bernstein-Vandermonde](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib81ACB73396FB0C3192CF0C09CFE118FAs1) linear systems. Linear Algebra Appl. 29, 731–751. _J. Delgado, E. Mainar and J.M. Peña_ _Computer Aided Geometric Design 106 (2023) 102243_ Marco, A., Martínez, J.J., 2013. Accurate computations with totally positive Bernstein- Vandermonde matrices. Electron. J. Linear Algebra 26, 357–380. Marco, A., Martínez, J.J., 2019. Accurate computation of the Moore–Penrose [inverse](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib1EA1D189AF8272D7ACDE987ABD78C761s1) of strictly totally positive matrices. J. Comput. Appl. Math. 350, 299–308. Marco, A., Martínez, J.J., Viaña, R., 2019. Accurate bidiagonal decomposition [of](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib2BABF62776CEE516BC84B7B8DB2FA8B1s1) totally positive h-Bernstein-Vandermonde matrices and applications. Linear Algebra Appl. 579, 320–335. Oruc¸, H., Phillips, G.M., 2003. q-Bernstein [polynomials](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibD2070686DDF1BC4CAE207DAEC3D10559s1) and Bézier curves. J. Comput. Appl. Math. 151, 1–12. Phillips, G.M., 1997. Bernstein polynomials based [on](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib02EE41D208A8D77BD7D4BDAD71677777s1) the q-integers. Ann. Numer. Math. 4, 511–518. Phillips, G.M., 2010. A survey of results on the [q-Bernstein](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib3F782FDD29CD28FF5F247E8013DCE9E0s1) polynomials. IMA J. Numer. Anal. 30, 277–288. Peña, J.M., 1997. B-splines and optimal [stability.](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib44C29EDB103A2872F519AD0C9A0FDAAAs1) Math. Comput. 66, 1555–1560. Peña, J.M., 2002. On the optimal stability of bases of univariate functions. Numer. Math. 91, 305–318. Peña, J.M., 2006. A note on the optimal stability of [bases](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bibC686F378C9092F1F114E9CD2E20DB916s1) of univariate functions. Numer. Math. 103, 151–154. Pinkus, A., 2010. Totally Positive Matrices. Cambridge Tracts in Mathematics, vol. 181. Cambridge University Press, Cambridge. Schumaker, L.L., Volk, W., 1986. Efficient evaluation of [multivariate](http://refhub.elsevier.com/S0167-8396%0x2823%0x2900075-4/bib2C54E23F4C5442C665A807AB19F61204s1) polynomials. Comput. Aided Geom. Des. 3, 149–154.

섹션 본문

섹션 본문이 없습니다.

참고문헌 63건

  1. Accurate Computations with Collocation Matrices of q-Bernstein Polynomials SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2015 10.1137/140993211
  2. (제목 없음) Numerical Algorithms · Springer Science+Business Media · 1999 10.1023/a:1019190220312
  3. Accurate computations with totally positive Bernstein-Vandermonde matrices Electronic Journal of Linear Algebra · University of Wyoming Libraries · 2013 10.13001/1081-3810.1658
  4. Numerical solution of KdV equation using modified Bernstein polynomials Applied Mathematics and Computation · Elsevier BV · 2005 10.1016/j.amc.2005.05.049
  5. A survey of results on the q-Bernstein polynomials IMA Journal of Numerical Analysis · Oxford University Press · 2009 10.1093/imanum/drn088
  6. The rational Bernstein bases and the multirational blossoms Computer Aided Geometric Design · Elsevier BV · 1999 10.1016/s0167-8396(99)00015-1
  7. A note on the optimal stability of bases of univariate functions Numerische Mathematik · Springer Science+Business Media · 2006 10.1007/s00211-005-0660-z
  8. Shape preserving representations and optimality of the Bernstein basis Advances in Computational Mathematics · Springer Science+Business Media · 1993 10.1007/bf02071384
  9. Quantum Bernstein bases and quantum Bézier curves Journal of Computational and Applied Mathematics · Elsevier BV · 2015 10.1016/j.cam.2015.04.027
  10. Total Positivity and Its Applications Springer eBooks · Springer Nature · 1996 10.1007/978-94-015-8674-0
  11. Running Error Analysis of Evaluation Algorithms for Bivariate Polynomials in Barycentric Bernstein Form Computing · Springer Science+Business Media · 2005 10.1007/s00607-005-0149-8
  12. Barycentric Lagrange Interpolation SIAM Review · Society for Industrial and Applied Mathematics · 2004 10.1137/s0036144502417715
  13. On the optimal stability of bases of univariate functions Numerische Mathematik · Springer Science+Business Media · 2002 10.1007/s002110100327
  14. Optimal Conditioning of Bernstein Collocation Matrices SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2009 10.1137/080737976
  15. Running Relative Error for the Evaluation of Polynomials SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2009 10.1137/080745249
  16. The Accurate and Efficient Solution of a Totally Positive Generalized Vandermonde Linear System SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2005 10.1137/s0895479804440335
  17. A matricial description of Neville elimination with applications to total positivity Linear Algebra and its Applications · Elsevier BV · 1994 10.1016/0024-3795(94)90183-x
  18. Solutions of differential equations in a Bernstein polynomial basis Journal of Computational and Applied Mathematics · Elsevier BV · 2006 10.1016/j.cam.2006.05.002
  19. Running error for the evaluation of rational Bézier surfaces Journal of Computational and Applied Mathematics · Elsevier BV · 2009 10.1016/j.cam.2009.02.023
  20. Monotonicity preservation on triangles Mathematics of Computation · American Mathematical Society · 1999 10.1090/s0025-5718-99-01176-x
  21. Totally positive bases for shape preserving curve design and optimality of B-splines Computer Aided Geometric Design · Elsevier BV · 1994 10.1016/0167-8396(94)90056-6
  22. On the numerical condition of polynomials in Bernstein form Computer Aided Geometric Design · Elsevier BV · 1987 10.1016/0167-8396(87)90012-4
  23. On the optimal stability of the Bernstein basis Mathematics of Computation · American Mathematical Society · 1996 10.1090/s0025-5718-96-00759-4
  24. On the evaluation of rational triangular Bézier surfaces and the optimal stability of the basis Advances in Computational Mathematics · Springer Science+Business Media · 2011 10.1007/s10444-011-9256-6
  25. B-splines and optimal stability Mathematics of Computation · American Mathematical Society · 1997 10.1090/s0025-5718-97-00897-1
  26. Evaluation algorithms for multivariate polynomials in Bernstein–Bézier form Journal of Approximation Theory · Elsevier BV · 2006 10.1016/j.jat.2006.05.007
  27. Running error for the evaluation of rational Bézier surfaces through a robust algorithm Journal of Computational and Applied Mathematics · Elsevier BV · 2010 10.1016/j.cam.2010.04.031
  28. Accuracy and Stability of Numerical Algorithms 2002 10.1137/1.9780898718027
  29. On the stability of transformations between power and Bernstein polynomial forms Computer Aided Geometric Design · Elsevier BV · 1991 10.1016/0167-8396(91)90047-f
  30. Bézier curve string method for the study of rare events in complex chemical systems The Journal of Chemical Physics · American Institute of Physics · 2014 10.1063/1.4893216
  31. Algorithms for polynomials in Bernstein form Computer Aided Geometric Design · Elsevier BV · 1988 10.1016/0167-8396(88)90016-7
  32. Computing the singular value decomposition with high relative accuracy Linear Algebra and its Applications · Elsevier BV · 1999 10.1016/s0024-3795(99)00134-2
  33. A fast and accurate algorithm for solving Bernstein–Vandermonde linear systems Linear Algebra and its Applications · Elsevier BV · 2007 10.1016/j.laa.2006.11.020
  34. A Corner Cutting Algorithm for Evaluating Rational Bézier Surfaces and the Optimal Stability of the Basis SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2007 10.1137/060649148
  35. Total positivity and Neville elimination Linear Algebra and its Applications · Elsevier BV · 1992 10.1016/0024-3795(92)90226-z
  36. Error analysis of efficient evaluation algorithms for tensor product surfaces Journal of Computational and Applied Mathematics · Elsevier BV · 2007 10.1016/j.cam.2007.07.020
  37. Are rational Bézier surfaces monotonicity preserving? Computer Aided Geometric Design · Elsevier BV · 2007 10.1016/j.cagd.2007.03.006
  38. The Bernstein polynomial basis: A centennial retrospective Computer Aided Geometric Design · Elsevier BV · 2012 10.1016/j.cagd.2012.03.001
  39. Efficient evaluation of multivariate polynomials Computer Aided Geometric Design · Elsevier BV · 1986 10.1016/0167-8396(86)90018-x
  40. Totally positive matrices Linear Algebra and its Applications · Elsevier BV · 1987 10.1016/0024-3795(87)90313-2
  41. Accurate Eigenvalues and SVDs of Totally Nonnegative Matrices SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2005 10.1137/s0895479803438225
  42. q-Bernstein polynomials and Bézier curves Journal of Computational and Applied Mathematics · Elsevier BV · 2002 10.1016/s0377-0427(02)00733-1
  43. Accurate Computations with Totally Nonnegative Matrices SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2007 10.1137/04061903x
  44. Two essential properties of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si1.gif" overflow="scroll"><mml:mo stretchy="false">(</mml:mo><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math>-Bernstein–Bézier curves Applied Numerical Mathematics · Elsevier BV · 2015 10.1016/j.apnum.2015.04.005
  45. Accurate computations with collocation matrices of a general class of bases Numerical Linear Algebra with Applications · Wiley · 2018 10.1002/nla.2184
  46. Accurate computation of the Moore–Penrose inverse of strictly totally positive matrices Journal of Computational and Applied Mathematics · Elsevier BV · 2018 10.1016/j.cam.2018.10.009
  47. Accurate bidiagonal decomposition of totally positive h-Bernstein-Vandermonde matrices and applications Linear Algebra and its Applications · Elsevier BV · 2019 10.1016/j.laa.2019.06.003
  48. Accurate bidiagonal decomposition of collocation matrices of weighted <i>ϕ</i>‐transformed systems Numerical Linear Algebra with Applications · Wiley · 2020 10.1002/nla.2295
  49. Structured Inversion of the Bernstein Mass Matrix SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2020 10.1137/19m1284166
  50. Evaluation and subdivision algorithms for general classes of totally positive rational bases Computer Aided Geometric Design · Elsevier BV · 2020 10.1016/j.cagd.2020.101900
  51. Extremal and optimal properties of B-bases collocation matrices Numerische Mathematik · Springer Science+Business Media · 2020 10.1007/s00211-020-01135-x
  52. Optimal properties of tensor product of B-bases Applied Mathematics Letters · Elsevier BV · 2021 10.1016/j.aml.2021.107473
  53. (제목 없음) Advances in Computational Mathematics · Springer Science+Business Media · 2003 10.1023/a:1025863309959
  54. Accurate and efficient computations with Wronskian matrices of Bernstein and related bases Numerical Linear Algebra with Applications · Wiley · 2021 10.1002/nla.2423
  55. Totally nonnegative matrices Choice Reviews Online · Association of College and Research Libraries · 2011 10.5860/choice.49-2120
  56. Fundamentals of computer aided geometric design Choice Reviews Online · Association of College and Research Libraries · 1994 10.5860/choice.31-6094
  57. Accurate computations with Gram and Wronskian matrices of geometric and Poisson bases Revista de la Real Academia de Ciencias Exactas Físicas y Naturales Serie A Matemáticas · Springer Science+Business Media · 2022 10.1007/s13398-022-01253-1
  58. Accurate computations with matrices related to bases {tieλt} Advances in Computational Mathematics · Springer Science+Business Media · 2022 10.1007/s10444-022-09954-2
  59. Total positivity and accurate computations with Gram matrices of Bernstein bases Numerical Algorithms · Springer Science+Business Media · 2022 10.1007/s11075-022-01284-0
  60. On the numerical stability of linear barycentric rational interpolation Numerische Mathematik · Springer Science+Business Media · 2022 10.1007/s00211-022-01316-w
  61. Bidiagonal decompositions of Vandermonde-type matrices of arbitrary rank Journal of Computational and Applied Mathematics · Elsevier BV · 2023 10.1016/j.cam.2023.115064
  62. An evaluation algorithm for <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="d1e139" altimg="si111.svg"><mml:mi>q</mml:mi></mml:math>-Bézier triangular patches formed by convex combinations Journal of Computational and Applied Mathematics · Elsevier BV · 2023 10.1016/j.cam.2023.115184
  63. Totally positive matrices Choice Reviews Online · Association of College and Research Libraries · 2011 10.5860/choice.48-3335