jacopy.research.GeneralizedSection

class jacopy.research.GeneralizedSection(type_, *components)

Bases: object

U ⊕ ω₂ ⊕ ω₅ — a section of E with one Expr per slot.

Parameters:
__init__(type_, *components)
Parameters:
Return type:

None

Methods

__init__(type_, *components)

map(fn)

Apply fn(component, slot) slot-wise.

scale(f)

f · e slot-wise (f a scalar function).

Attributes

components

type

unverified_slots

Positions 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()).

scale(f)

f · e slot-wise (f a scalar function).

Parameters:

f (Expr)

Return type:

GeneralizedSection

map(fn)

Apply fn(component, slot) slot-wise.

Return type:

GeneralizedSection