By the way, here's a fairly literal implementation of that concept: pdeg=: 0&~: >./@# i.@# pdeg 1 2 1 2 pdeg 1 2 1 0 0 0 2
On Thu, Jan 5, 2023 at 12:17 AM Raul Miller <rauldmil...@gmail.com> wrote: > > On Wed, Jan 4, 2023 at 10:24 PM Ak O <akin...@gmail.com> wrote: > > File -> Wed Jan 4 03:40:07UTC 2023 > > The statement: > > So, there's no difference in Degree 1 2 1 0 0 0 and 1 2 1... > > > > This is not correct. These should not be seen as equalities. > > That's an interesting perspective. > > It seems to me that both of these are polynomials of degree 2. If > they should have different degrees, what degrees should they have? And > how would this be consistent with the opening sentence at > https://en.wikipedia.org/wiki/Degree_of_a_polynomial#: > > "In mathematics, the degree of a polynomial is the highest of the > degrees of the polynomial's monomials (individual terms) with non-zero > coefficients." > > Thanks, > > -- > Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm