axiom-mail
[Top][All Lists]
Advanced

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

[Axiom-mail] New to Axiom: Implement 'Balanced' FiniteField ?


From: jim kraai
Subject: [Axiom-mail] New to Axiom: Implement 'Balanced' FiniteField ?
Date: Tue, 29 Mar 2005 23:48:43 -0800 (PST)

Greetings,

(I'm more of a pencil-n-paper math guy.)

A BalancedFiniteField representation of an integer n would be:
  the same as FiniteField (base) if n <= floor(n/2)
  else base - floor(n/2)

Examples:

base of 4     base of 5 
n  FF BFF     n  FF BFF 
----------    ----------
0  0   0      0  0   0  
1  1   1      1  1   1  
2  2   2      2  2   2  
3  3  -1      3  3  -2  
4  0   0      4  0  -1  
5  1   1      5  1   0  
              6  0   0  
                        
After reading the book chapters on Packages, Categorys, and Domains, I find 
that I'm no more clear on which is an effective way to get this output.

Thanks for any help,

--jim



                
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs




reply via email to

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