[Axiom-developer] [Axiom-mail] A newby question about eval and Expression

2005-11-14 Thread Martin Rubey
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff -- Doug Stewart <[EMAIL PROTECTED]> writes: > Martin Rubey wrote: > > >Dear Doug, > > > >there are two issues in your code: > > > > > >Doug Stewart writes: > > > > > >>)clear all > >>digits 20 > >>-- n:=x^3+a1*x^2+a2*x+a3 ::Po

[Axiom-developer] [Axiom-mail] A newby question about eval and Expression

2005-11-13 Thread Doug Stewart
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff -- Martin Rubey wrote: >Dear Doug, > >there are two issues in your code: > > >Doug Stewart writes: > > > >>)clear all >>digits 20 >>-- n:=x^3+a1*x^2+a2*x+a3 ::Polynomial Fraction Integer >> >>Q:=(3*a2-a1^2)/9 >>R:=(9*a1*a2-27

[Axiom-developer] [Axiom-mail] A newby question about eval and Expression

2005-11-13 Thread Martin Rubey
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff -- Dear Doug, there are two issues in your code: Doug Stewart writes: > )clear all > digits 20 > -- n:=x^3+a1*x^2+a2*x+a3 ::Polynomial Fraction Integer > > Q:=(3*a2-a1^2)/9 > R:=(9*a1*a2-27*a3-2*a1^3)/54 > S:=(R+(Q^3+R^2)^(

[Axiom-developer] [Axiom-mail] A newby question about eval and Expression

2005-11-12 Thread Doug Stewart
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff -- When I have a polynomial of type Polynomial Fraction Integer and I use eval zz1:=eval(qu1,[a1=62/100,a2=11,a3=6]); it returns a type Expression Integer. How do I change it back to Polynomial Fraction Integer I think