up previous next
Tutorial06: rings, polynomials, use command

Tutorial06: rings, polynomials, use command
Tutorial06 for CoCoA5
When you want to do a computation in CoCoA5, the first thing you
need to do is tell CoCoA5 in which ring to compute. The
use
command informs CoCoA5 about this. The most convenient method does
two things at once: it creates the polynomial ring, and then chooses
that ring as the "current ring".
Once the correct current ring has been selected, you may type in
polynomials using a natural syntax (with the caveat that you must
use
*
to denote all products (e.g. between
coefficients and indeterminates, or even between powers of indeterminates).
The most common coefficient fields are the rationals (denoted
QQ
)
and small prime finite fields (denoted
ZZ/(p)
).