ApCoCoA-1:NCo.SetFp

From ApCoCoAWiki
Revision as of 12:59, 30 April 2013 by Xiu (talk | contribs) (New page: <command> <title>NCo.SetFp</title> <short_description> Set coefficient field to a finite field. </short_description> <syntax> NCo.SetFp() NCo.SetFp(Prime:INT) </syntax> <description> Note ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

NCo.SetFp

Set coefficient field to a finite field.

Syntax

NCo.SetFp()
NCo.SetFp(Prime:INT)

Description

Note that the default coefficient field is rational numbers Q, i.e. RAT in CoCoAL. The fuNCotion has 0 or 1 parameter. The coefficient field is set to F2=Z/(2) if no parameter is given, i.e. via the first fuNCotion.

  • @param Prime: a prime number. The coefficient field is set to F_{Prime}=Z/(Prime).

Example

NCo.RingEnv();
Coefficient ring : Q
-------------------------------
NCo.SetFp();
NCo.RingEnv();
Coefficient ring : Fp = Z/(2)
-------------------------------
NCo.SetFp(3);
NCo.RingEnv();
Coefficient ring : Fp = Z/(3)
-------------------------------

See also

NCo.Add

NCo.Deg

NCo.FindPolynomials

NCo.GB

NCo.HF

NCo.Interreduction

NCo.Intersection

NCo.IsFinite

NCo.IsGB

NCo.IsHomog

NCo.KernelOfHomomorphism

NCo.LC

NCo.LT

NCo.LTIdeal

NCo.MB

NCo.MRAdd

NCo.MRDeg

NCo.MRGB

NCo.MRHF

NCo.MRInterreduction

NCo.MRIntersection

NCo.MRIsGB

NCo.MRKernelOfHomomorphism

NCo.MRLC

NCo.MRLT

NCo.MRLTIdeal

NCo.MRMB

NCo.MRMinimalPolynomial

NCo.MRMultiply

NCo.MRNR

NCo.MRReducedGB

NCo.MinimalPolynomial

NCo.Multiply

NCo.NR

NCo.ReducedGB

NCo.SetFp

NCo.SetOrdering

NCo.SetRelations

NCo.SetRules

NCo.SetX

NCo.Subtract

NCo.TruNCoatedGB

NCo.UnsetFp

NCo.UnsetOrdering

NCo.UnsetRelations

NCo.UnsetRules

NCo.UnsetX

Introduction to CoCoAServer