Thanks! Mladen
On Jan 19, 6:29 pm, kcrisman <kcris...@gmail.com> wrote: > On Jan 19, 7:49 pm, mb <bestv...@gmail.com> wrote: > > > I am curious why the following doesn't work. I guess I understand the > > message, that P(x=0) is an expression, so it doesn't make sense to ask > > if it is an integer. What would be the correct way to do this? > > Yeah, I'm not sure about whether there is an integral/integral closure > concept in the symbolic ring... I don't think that would make sense. > I would do one of these: > > sage: Integer(P(x=0)).is_integral() > True > sage: QQ(P(x=0)).is_integral() > True -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org