| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
structure.sage_object.SageObject --+
|
GenericCombinatorialSpecies
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
EXAMPLES:
sage: CombinatorialSpecies()
Combinatorial species
|
Returns the sum of self and g.
EXAMPLES:
sage: from sage.combinat.species.species import PermutationSpecies
sage: P = PermutationSpecies()
sage: F = P + P; F
Sum of (Permutation species) and (Permutation species)
sage: F.structures([1,2]).list()
[[1, 2], [2, 1], [1, 2], [2, 1]]
|
Returns the sum of self and g.
EXAMPLES:
sage: from sage.combinat.species.species import PermutationSpecies
sage: P = PermutationSpecies()
sage: F = P + P; F
Sum of (Permutation species) and (Permutation species)
sage: F.structures([1,2]).list()
[[1, 2], [2, 1], [1, 2], [2, 1]]
|
Returns the product of self and g.
EXAMPLES:
sage: from sage.combinat.species.species import PermutationSpecies
sage: P = PermutationSpecies()
sage: F = P * P; F
Product of (Permutation species) and (Permutation species)
|
Returns the product of self and g.
EXAMPLES:
sage: from sage.combinat.species.species import PermutationSpecies
sage: P = PermutationSpecies()
sage: F = P * P; F
Product of (Permutation species) and (Permutation species)
|
EXAMPLES:
sage: from sage.combinat.species.species import SetSpecies
sage: S = SetSpecies()
sage: S(S)
Composition of (Set species) and (Set species)
|
EXAMPLES:
sage: from sage.combinat.species.species import SetSpecies
sage: S = SetSpecies()
sage: S(S)
Composition of (Set species) and (Set species)
|
Returns the functorial composition of self with g.
EXAMPLES:
sage: from sage.combinat.species.species import SetSpecies, SubsetSpecies
sage: E = SetSpecies()
sage: E2 = E.restricted(2)
sage: WP = SubsetSpecies()
sage: P2 = E2*E
sage: G = WP.functorial_composition(P2)
sage: G.isomorphism_type_generating_series().coefficients(5)
[1, 1, 2, 4, 11]
|
EXAMPLES:
sage: from sage.combinat.species.species import PermutationSpecies
sage: PermutationSpecies().restricted(3)
Permutation species restricted to 3
|
EXAMPLES:
sage: F = CombinatorialSpecies()
sage: F.structures([1,2,3]).list()
Traceback (most recent call last):
...
NotImplementedError
|
EXAMPLES:
sage: F = CombinatorialSpecies()
sage: F.isomorphism_types([1,2,3]).list()
Traceback (most recent call last):
...
NotImplementedError
|
EXAMPLES:
sage: from sage.combinat.species.species import SingletonSpecies, EmptySetSpecies
sage: S = SingletonSpecies()
sage: E = EmptySetSpecies()
sage: S == S
True
sage: S == E
False
|
Returns True if the number of structures and isomorphism
types generated is the same as the number found from
the generating series.
EXAMPLES:
sage: from sage.combinat.species.species import PartitionSpecies
sage: P = PartitionSpecies()
sage: P._check()
True
|
EXAMPLES:
sage: from sage.combinat.species.species import PartitionSpecies
sage: P = PartitionSpecies().positive_part(); P
Positive part of Partition species
sage: P.isomorphism_type_generating_series().coefficients(5)
[0, 1, 2, 3, 5]
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 17 04:23:38 2008 | http://epydoc.sourceforge.net |