|
|
|
last edited 17 years ago by kratt6 |
| 1 2 | ||
|
Editor: kratt6
Time: 2007/12/20 01:43:19 GMT-8 |
||
| Note: | ||
added:
From kratt6 Thu Dec 20 01:43:19 -0800 2007
From: kratt6
Date: Thu, 20 Dec 2007 01:43:19 -0800
Subject:
Message-ID: <20071220014319-0800@axiom-wiki.newsynthesis.org>
Category: Axiom Mathematics => Axiom Interpreter
Status: open => rejected
simplify takes an 'EXPR INT', not a 'POLY INT'. The interpreter does the coercion silently for you.
(1) -> factor(simplify((1+x)^3))
| (1) |
vs.
factor((1+x)^3)
| (2) |
simplify changes the type to Expression Integer, where the original was Polynomial Integer.
Why does factor refuse to factor an Expression Integer but succeeds with Polynomial Integer?
simplify((1+x)^3)
| (3) |
factor(%::Polynomial Integer)
| (4) |
simplify takes an EXPR INT, not a POLY INT. The interpreter does the coercion silently for you.