Difference between revisions of "ApCoCoALib:RingF16"
From ApCoCoAWiki
m (ApCoCoALib:F16 moved to ApCoCoALib:RingF16: The c++ class is called RingF16, not F16.) |
(update wtr. the implementation of F16.) |
||
Line 2: | Line 2: | ||
==about== | ==about== | ||
− | + | ApCoCoALib contains an implementation of the field <math>\mathbb{F}_{16}</math> | |
The field is constructed via <math>\mathbb{F}_{16} = \mathbb{F}[x]/(x^4 + x^3 + 1)</math>. | The field is constructed via <math>\mathbb{F}_{16} = \mathbb{F}[x]/(x^4 + x^3 + 1)</math>. | ||
The field's elements are represented as integers between 0 and 15. The corresponding mapping is the substitution homomorphism, mapping x to 2. Therefore we have e.g. <math>x^3 + x + 1 \mapsto 2^3 + 2^1 + 2^0 = 8 + 2 + 1 = 11</math> | The field's elements are represented as integers between 0 and 15. The corresponding mapping is the substitution homomorphism, mapping x to 2. Therefore we have e.g. <math>x^3 + x + 1 \mapsto 2^3 + 2^1 + 2^0 = 8 + 2 + 1 = 11</math> | ||
− | + | This implementation is contained in the files RingF16,[CH]. A new instance can be created with the command: | |
− | + | ApCoCoA::AlgebraicCore::NewRingF16(); | |
− | |||
− | |||
− | |||
− | + | An example, describing how to use RingF16, especially together with ring homomorphisms can be found in ApCoCoALib's example directory. It is named ex-RingF16.C | |
− | |||
− | |||
− | |||
− | |||
[[Category:ApCoCoALib_Manual]] | [[Category:ApCoCoALib_Manual]] |
Revision as of 09:03, 4 February 2008
This article is a stub. You can make this wiki more useful by adding information.
about
ApCoCoALib contains an implementation of the field The field is constructed via . The field's elements are represented as integers between 0 and 15. The corresponding mapping is the substitution homomorphism, mapping x to 2. Therefore we have e.g.
This implementation is contained in the files RingF16,[CH]. A new instance can be created with the command:
ApCoCoA::AlgebraicCore::NewRingF16();
An example, describing how to use RingF16, especially together with ring homomorphisms can be found in ApCoCoALib's example directory. It is named ex-RingF16.C