octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: symbolic pkg help for degree


From: Svante Signell
Subject: Re: symbolic pkg help for degree
Date: Sun, 03 Jan 2016 16:09:21 +0100

On Sun, 2016-01-03 at 09:54 -0500, Doug Stewart wrote:
> 
> Function File: n = degree (p)
> Function File: n = degree (p, x)
> Extract numerator and demoninator of symbolic expression.
> Examples:
> syms x
> degree(x^2 + 6)
>    ⇒ (sym) 2
> 
> 
> This function does not "extract numerator and denominator from"
> It finds the highest power of a variable.

Well, it returns the degree of the numerator polynomial, which is two.
In this example, there is no denominator polynomial defined (note the
spelling, the help text is wrong!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]