[back] [prev] [next] [index] [root]
IdealBasis
Returns the basis of an ideal.
Syntax:
M := IdealBasis(I);
ideal |
I |
|
list |
M |
two elements, the denominator and the representation matrix |
See also: IdealGenerators
Description:
Ideals are given either in Z-basis representation or 2
element representation. If the ideal is given in basis
representation this representation is simply returned. Otherwise it
will be computed. In this case the ideal has got 2 equivalent
representations stored afterwards. This can be of advantage because
some algorithms prefer 2 element representations, others prefer
Z-basis representations.
Once a basis is fixed (entered or calculated)
it will never change even if simplification is possible.
Example:
kash> o := Order(Poly(Zx, [1, 6, 6, 6]));;
kash> alpha := Elt(o, [0, 1, 0]);;
kash> I := Ideal(6, alpha);
<6, [0, 1, 0]>
kash> IdealBasis(I);
> [ 1, [6 0 0]
[0 1 0]
[0 0 1] ]
<- back[back] [prev] [next] [index] [root]