6.14.1.2 PowerSeriesRing_generic Objects

class PowerSeriesRing_generic
PowerSeriesRing_generic( base_ring, [name=None])

Instances of class PowerSeriesRing_generic have the following methods (in addition to inherited methods and special methods):

base_ring,$  $ characteristic,$  $ gen,$  $ is_atomic_repr,$  $ is_field,$  $ is_finite,$  $ laurent_series_ring,$  $ ngens,$  $ random_element

Further documentation:

laurent_series_ring( )

If this is the power series ring R[[t]], return the Laurent series ring R((t)).

random_element( prec, [bound=0])

Return a random power series.

INPUT:
    prec -- an int
    bound -- an int (default: 0, which tries to spread choice across ring,
if implemented)

OUTPUT:
    Polynomial -- A polynomial such that the coefficient of x^i,
    for i up to degree, are coercisions to the base ring of
    random integers between -bound and bound.

Instances of class PowerSeriesRing_generic also have the following special methods:

__call__,$  $ __cmp__,$  $ __contains__,$  $ __repr__,$  $ _latex_,$  $ _poly_ring

See About this document... for information on suggesting changes.