Watson Ladd on Fri, 07 Apr 2017 23:34:19 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Annoying typing problem


Dear all,

I want to convert the output of rnfdisc(K, pol)[2] into an element of
K. If it was always a vector, this would be easy, the same as if it
was always a polmod or integer. But sadly it is sometimes one and
sometimes the other. I have searched the manual and found nothing that
works. This would be an easy function to write if I could tell what
type rnfdisc(K, pol)[2] has, but there is no function for that either.


Sincerely,
Watson Ladd