axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] output format


From: Mike Dewar
Subject: Re: [Axiom-developer] output format
Date: Mon, 14 Jun 2004 10:33:59 +0100
User-agent: Mutt/1.4.1i

Actually, if you want a linear representation then you could try
)set output fortran on
however you will probably want to tweak the settings for Fortran
generation to turn off coercions of integers to floats and expression
segmentation.  Do
)set fortran
for more details.

Mike.

On Wed, Jun 09, 2004 at 08:44:41AM -0400, Tim Daly wrote:
> Serge,
> 
> 
> >So far, I have a small question of how to print a polynomial, 
> >polynomial factorization "to line".
> >
> >The program   a.input  is of kind
> >
> >  P := MPOLY([p,e,s], Integer)
> >  ...
> >  ft = factor f
> >  )spool axres 
> >  output ft;
> >  )spool off
> >
> >
> >The commands   > axiom
> >               ... 
> >               (1) -> )r a.input
> >yield
> 
> .....[snip].....
> 
> >
> >  )spool off
> >
> >
> >   >> System error:
> >   Already in dribble (to axres).
> 
> This error message is coming from the underlying lisp image (in
> lsp/gcl-2.6.2a/lsp/gcl_iolib.lsp), not from Axiom. I don't understand
> yet why it occurs but I'll look into it.
> 
> 
> >  ------------------------------------------------------------
> > 
> >
> >1. What may be this `error'?
> >
> >2. I would also like to have the output of kind
> >
> > "  - (s-1) * (s+1) * (p^4 +(2*e^3 + (24*s^2 - 4)*e)*p^3 * ...) * ... 
> > "
> >
> 
> Axiom does not, as far as I know, have a "linear" output representation.
> 
> Tim Daly
> 
> 
> 
> 
> _______________________________________________
> Axiom-developer mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/axiom-developer
> 
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




reply via email to

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