Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - question about finite fields
Author Message
  Post subject:  Re: question about finite fields  Reply with quote
i would try something along the following lines :

Code:
if ( !( (char(basering) == 0) || (npars(basering) > 1) || ( (npars(basering) == 1)&&(string(minpoly) == "0") ) ) )
{
  "field is finite..."; 
}


ps: here i don't consider the case of integer coeff. rings

for the cardinality one will need the degree of minpoly: just watch the powers: par(1)^i until reduction happen.

O.
Post Posted: Wed Apr 16, 2014 5:51 am
  Post subject:  question about finite fields  Reply with quote
Hello,


when defining a ring over a finite field, e.g.
Code:
ring rng = (49,a),x,dp;
basering;
//   # ground field : 49
//   primitive element : a
//   minpoly        : 1*a^3+6*a^2+4*a^0
//   number of vars : 1
//        block   1 : ordering dp
//                  : names    x
//        block   2 : ordering C


howto
- check, that the coefficient ring is a (finite) field
- get a generator of the finite coefficient field
- get the cardinality of the finite coefficient field
(without parsing the string output above)

?
Post Posted: Mon Apr 14, 2014 1:36 pm


It is currently Fri May 13, 2022 11:04 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group