Examples
An integer n in ℤ/13ℤ:
A vector V in ℤ/13ℤ:
or:
A matrix A in ℤ/13ℤ:
or:
A:=[[1%13,2%13,3%13],[[2%13,3%13,4%13]] |
A polynomial A in ℤ/13ℤ[x] in symbolic representation:
or:
A polynomial A in ℤ/13ℤ[x] in list representation:
or:
To recover an object obj with integer coefficients instead of modular
coefficients, input obj%0. For example:
Remark.
Most Xcas functions that work on integers or polynomials with
integer coefficients will often work analogously on
ℤ/pℤ or ℤ/pℤ[x], with the
obvious exception that the input and output will be modular. They
will be listed in the remaining subsections.
For some commands in ℤ/pℤ or in ℤ/pℤ[x],
p must be a prime integer.