POV-Ray : Newsgroups : povray.advanced-users : Math terminology: "degree" or "order"? Server Time
29 Mar 2024 09:41:25 EDT (-0400)
  Math terminology: "degree" or "order"? (Message 1 to 4 of 4)  
From: Cousin Ricky
Subject: Math terminology: "degree" or "order"?
Date: 26 Sep 2020 13:31:33
Message: <5f6f7af5@news.povray.org>
I just noticed that sometimes Bézier curves (or B-splines or 
polynomials) are referred to as 2nd or 3rd order, and sometimes as 2nd 
or 3rd degree.  Are these terms interchangeable?


Post a reply to this message

From: Bald Eagle
Subject: Re: Math terminology: "degree" or "order"?
Date: 26 Sep 2020 15:55:00
Message: <web.5f6f9b7e8558314b1f9dae300@news.povray.org>
Cousin Ricky <ric### [at] yahoocom> wrote:
> I just noticed that sometimes Bézier curves (or B-splines or
> polynomials) are referred to as 2nd or 3rd order, and sometimes as 2nd
> or 3rd degree.  Are these terms interchangeable?


I've seen people claim they are the same, but I also found this:

"In B-spline terminology, order means degree + 1."
https://math.stackexchange.com/questions/1730596/n-order-b-splines-interpolation

So maybe order is the number of control points, and degree is the highest power
of the polynomial?


Post a reply to this message

From: Cousin Ricky
Subject: Re: Math terminology: "degree" or "order"?
Date: 26 Sep 2020 16:50:56
Message: <5f6fa9b0@news.povray.org>
On 2020-09-26 3:50 PM (-4), Bald Eagle wrote:
> Cousin Ricky <ric### [at] yahoocom> wrote:
>> I just noticed that sometimes Bézier curves (or B-splines or
>> polynomials) are referred to as 2nd or 3rd order, and sometimes as 2nd
>> or 3rd degree.  Are these terms interchangeable?
> 
> 
> I've seen people claim they are the same, but I also found this:
> 
> "In B-spline terminology, order means degree + 1."
> https://math.stackexchange.com/questions/1730596/n-order-b-splines-interpolation
> 
> So maybe order is the number of control points, and degree is the highest power
> of the polynomial?

Thanks, this gave me a springboard for further searching.  It seems that 
the term "order" not only has multiple meanings, it can also be 
ambiguous within the same meaning!  See conflicting definitions of 
"order" just between these Wikipedia articles:
   https://en.wikipedia.org/wiki/B%C3%A9zier_curve#Higher-order_curves
   https://en.wikipedia.org/wiki/Degree_of_a_polynomial
   https://en.wikipedia.org/wiki/Order_of_a_polynomial

My takeaway is that I should purge the word "order" from my code and 
documentation, and stick to "degree."  Also, the release of quadratic 
Bézier splines in SphereSweep will be delayed a day or two because of this.


Post a reply to this message

From: William F Pokorny
Subject: Re: Math terminology: "degree" or "order"?
Date: 27 Sep 2020 09:49:02
Message: <5f70984e$1@news.povray.org>
On 9/26/20 4:50 PM, Cousin Ricky wrote:
> On 2020-09-26 3:50 PM (-4), Bald Eagle wrote:
>> Cousin Ricky <ric### [at] yahoocom> wrote:
>>> I just noticed that sometimes Bézier curves (or B-splines or
>>> polynomials) are referred to as 2nd or 3rd order, and sometimes as 2nd
>>> or 3rd degree.  Are these terms interchangeable?
...
> 
> My takeaway is that I should purge the word "order" from my code and 
> documentation, and stick to "degree."  Also, the release of quadratic 
> Bézier splines in SphereSweep will be delayed a day or two because of this.

Expect reasonable.

The day to day use is foggy - me as guilty as any I expect. In doing the 
solver work a couple years back, I came to the following understanding:

The degree of a polynomial equation is that of the largest term by 
exponent with a non-zero coefficient.

While programming for polynomials the order is the maximum degree a 
given algorithm can handle. This might be greater than the degree of any 
given equation being evaluated, manipulated, solved for roots, or 
whatever - using that algorithm. The coefficient storage required in 
these domains then is usually the (order + 1) * coefficient_size.

When matrix math comes into play, folks tend to think in terms of matrix 
order which is degree + 1 or 'polynomial' order + 1.

Your kilometers may vary.

Bill P.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.