jacopy.research.GeneralizedSection¶
- class jacopy.research.GeneralizedSection(type_, *components)¶
Bases:
objectU ⊕ ω₂ ⊕ ω₅— a section ofEwith oneExprper slot.- Parameters:
type_ (SectionType)
components (Expr)
- __init__(type_, *components)¶
- Parameters:
type_ (SectionType)
components (Expr)
- Return type:
None
Methods
__init__(type_, *components)map(fn)Apply
fn(component, slot)slot-wise.scale(f)f · eslot-wise (fa scalar function).Attributes
componentstypePositions whose component's kind could not be determined (accepted, not certified — see
Slot.accepts()).- property unverified_slots: Tuple[int, ...]¶
Positions whose component’s kind could not be determined (accepted, not certified — see
Slot.accepts()).
- map(fn)¶
Apply
fn(component, slot)slot-wise.- Return type: