[back] [prev] [next] [index] [root]

 


Index

Computes the index of an algebraic element, an order or an alff order

Syntax:

I := Index (a);
I := Index (o);

coefficient ring element
  I  
algebraic element
  a  
order alff order
  o  

See also:  EltIndexOrderIndexAlffOrderIndex

Description:

For an algebraic element a in an arbitrary order o over Z this function returns the modul index (o : Z[\alpha] Given an order this function returns the index of the suborder o_1 of o in o. Given an alff order this function returns the index of the equation order in the given order.


Example:


kash> o := Order(Z,5,3);
Generating polynomial: x^5 - 3

kash> a := Elt(o, [0,0,1,1,1]);
[0, 0, 1, 1, 1]
kash> I := Index(a);
> 3501


<- back[back] [prev] [next] [index] [root]