up previous next
IsIrred

check if a RINGELEM is irreducible

Syntax
IsIrred(f: RINGELEM): BOOL

Description
This function tests whether the argument f is irreducible in RingOf(f) .

Example
/**/ FFp := NewRingFp(7);
/**/ use FFp[x];
/**/ f := x^9+x+1;
/**/ IsIrred(f);
true