MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: comparing finite fields elements with == or != doesn't work?!?!


xarnaudx at gmail.com wrote:
> just try this out:
> 
> << Algebra`FiniteFields`
> F = GF[7];
> Print[F[{1}] != F[{2}]];
> 
> => doesn't work. It's simply not evaluated.
> 
> So the question is: how on earth to compare if finite fields elements
> are equal/different?!?
> 
The bottom of the help page for the package might be of interest:

----------------------------------------------
Compatibility with Other Mathematica Functions
----------------------------------------------
Most Mathematica functions are *not*, indeed cannot be, designed to work 
over arbitrary fields. [...] At best, such functions will not do 
anything when given such an expression.

You can generally expect these functions to treat the field object as an 
/unknown symbol/. [...] The types of functions that might reasonably be 
expected to work are linear algebra and polynomial functions.

[...]

See 
http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/Algebra/FiniteFields.html

Regards,
Jean-Marc


  • Prev by Date: RE: Function defined with If
  • Next by Date: Re: Assumptions for Trigonometry Inequalities
  • Previous by thread: Re: comparing finite fields elements with == or != doesn't work?!?!
  • Next by thread: Mathematica and other programs