[GAP Forum] "Error, no method found" in IsIrreducibleRingElement
Bill Allombert
Bill.Allombert at math.u-bordeaux.fr
Mon Jul 25 18:56:08 BST 2016
On Mon, Jul 25, 2016 at 12:33:18PM +0000, Hulpke,Alexander wrote:
> Dear Charles Greathouse, Dear Forum,
>
> On Jul 6, 2016, at 8:38 PM, Charles Greathouse <crgreathouse at gmail.com<mailto:crgreathouse at gmail.com>> wrote:
>
> I'm having trouble getting IsIrreducibleRingElement (and IsPrime) working
> on SmallRing elements. For example:
>
>
> Switching rings, elements, versions, and operating systems hasn't helped.
>
> The built-in irreducibility tests are currently only available for the
> integers (and some rings of integers) and polynomial rings over
> fields. There is no method for the small rings, which is the reason
> for the error message you received.
All elements in a finite ring are either invertible or divisors of
zero so in both case are not irreducible nor prime.
So it should just return false.
Cheers,
Bill.
More information about the Forum
mailing list