uconf.core.component¶
Classes
|
Structural contract for a component of an operad/cooperad . |
- class uconf.core.component.ComponentProtocol(n, base_ring)[source]¶
Bases:
ProtocolStructural contract for a component of an operad/cooperad .
- Parameters:
n (int)
- name: str¶
Name of the component, used for printing.
- connectivity: int¶
Lower bound k such that M(n) is concentrated in degrees >= k*(n-1) for all n >= 0.
- term(x)[source]¶
Returns the basis element corresponding to basis key
x.- Parameters:
x (object)
- Return type:
Element
- boundary(x)[source]¶
Applies the differential to element
x.- Parameters:
x (Element)
- Return type:
Element
- degree_on_basis(x)[source]¶
Returns degree of basis element
x.- Parameters:
x (object)
- Return type:
int
- sum_of_terms(terms)[source]¶
Builds element from iterator of (basis, coeff) pairs.
- Parameters:
terms (Iterator[tuple[Any, Any]])
- Return type:
Element