axiom-mail
[Top][All Lists]
Advanced

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

[Axiom-mail] Type of Expression Problem


From: Hans Peter Würmli
Subject: [Axiom-mail] Type of Expression Problem
Date: Sun, 13 Nov 2005 10:05:33 +0100
User-agent: KMail/1.7.2

Hi

What are my wrong expectations in the following interpreter session when using 
"typeOf" and "has"

(1) -> e:=(1+n)/(n+k)
        n + 1
   (1)  -----
        n + k
                                           Type: Fraction Polynomial Integer
(2) -> typeOf e
   (2)  Fraction Polynomial Integer
                                                                 Type: Domain
(3) -> typeOf (e) has Fraction Polynomial Integer
   (3)  false

In (3) I would expect true.
 
Cheers, H.P.




reply via email to

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