axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] output format


From: Serge D. Mechveliani
Subject: [Axiom-developer] output format
Date: Wed, 9 Jun 2004 15:39:02 +0400
User-agent: Mutt/1.2.5i

Dear Axiom supporters,

Thank you, 
I have installed Axiom  from CVS on our  RedHat Linux 9  machine.  
This makes it 
              Axiom Version of June 9, 2004. 

I find Axiom useful because it has a rich mathematical library.

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
   ---------------------------------------------------------------
   -
        (s - 1)(s + 1)
     *
           4      3       2        3
          p  + (2e  + (24s  - 4)e)p
        +
            6       2      4      
          (e  + (60s  - 6)e  + ... )
        +
     ...
         *
            p
        +
           8        2      6         4       2      4
          e  + (112s  - 2)e  + (1120s  - 120s  + 1)e
  ....

  )spool off


   >> System error:
   Already in dribble (to axres).
  ------------------------------------------------------------
 

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 * ...) * ... 
 "

For example, my DoCon program can read this format ...

2.1 It prints these polynomials like for  (Z[e])[p]:  
                                              " (e^2 + 2e)*p "
    How to print it like for  Z[p,e]: 
                                              " 2*p*e + e^2 "
    ?

Thank you in advance for the help,

-----------------
Serge Mechveliani
address@hidden







reply via email to

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