Package sympycore :: Package polynomials :: Module algebra :: Class PolynomialRingFactory
[hide private]
[frames] | no frames]

Type PolynomialRingFactory

source code


Factory of polynomial rings with symbols and coefficient ring.

Instance Methods [hide private]
 
__eq__(self, other) source code
call graph 
 
__getitem__(self, ring_info, cache={})
Return a new polynomial ring class
source code
call graph 
 
__ne__(self, other) source code
 
is_subring(self, other)
Check if self contains other as a subring, i.e.
source code

Inherited from type: __call__, __cmp__, __delattr__, __getattribute__, __hash__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __init__, __reduce__, __reduce_ex__, __str__

Static Methods [hide private]
 
__new__(typ, name, bases, attrdict)
Returns: a new object with type S, a subtype of T
source code
call graph 
Properties [hide private]

Inherited from type: __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__getitem__(self, ring_info, cache={})
(Indexing operator)

source code 
call graph 

Return a new polynomial ring class

Examples:

PolynomialRing[<seq of variables>, <coefficient ring>]
PolynomialRing[<n>, <coefficient ring>] is
      PolynomialRing[['X%s'%i for i in range(<n>)], <coefficient ring>]
PolynomialRing[<variable info>] is
      PolynomialRing[<variable info>, Calculus]

__new__(typ, name, bases, attrdict)
Static Method

source code 
call graph 
Returns:
a new object with type S, a subtype of T

Overrides: core.BasicType.__new__

is_subring(self, other)

source code 
Check if self contains other as a subring, i.e. whether the other instances can be converted to self instances.