> > Questions: > > Do Qp(7) and pAdicField(7) do the same thing? >
Yes, I think so. They also accept arguments to set things like default precision for that ring. > K[x] and K['x'] seem to do the same thing as well. Is that right? > Yes, they do. `x` is predefined as a symbolic variable. `K[x]` is tolerant enough to accept an object like a symbolic variable and treat it by its print name, which is 'x'. Indeed, `K['x']` creates a univariate polynomial ring over `K` with its generator named 'x'. Perhaps neater and more efficient: Kx=PolynomialRing(K,'x') x=Kx.gen(0) then x^2-2 will immediately be constructed to be a polynomial over K. The lines above can also be abbreviated to Kx=K['x']; x=Kx.gen(0) or Kx.<x>=K['x'] or even Kx.<x>=K[] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/9e1c87df-0d6a-4d7a-8d2c-fda74d3e37d5%40googlegroups.com.