jacopy.research.Slot

class jacopy.research.Slot(kind, degree=0, name='', bundle=None)

Bases: object

One summand of E: kind is "vector" (a section of TM), "form" (a degree-form) or "function".

Parameters:
__init__(kind, degree=0, name='', bundle=None)
Parameters:
Return type:

None

Methods

__init__(kind[, degree, name, bundle])

accepts(expr)

Three-valued type check of a component against this slot through the common type query (jacopy.central.objects.kind.kind_of()): "valid" (kind, degree and — when known — bundle match), "invalid" (a known wrong kind, degree, bundle, or a sum of different known types), "unknown" (an opaque expression — accepted, recorded as unverified).

Attributes

bundle

owning bundle (None = the tangent bundle TM)

degree

label

name

kind

bundle: object = None

owning bundle (None = the tangent bundle TM)

accepts(expr)

Three-valued type check of a component against this slot through the common type query (jacopy.central.objects.kind.kind_of()): "valid" (kind, degree and — when known — bundle match), "invalid" (a known wrong kind, degree, bundle, or a sum of different known types), "unknown" (an opaque expression — accepted, recorded as unverified). Zero inhabits every slot. Never guesses: a bivector is not a 2-form, a form on another bundle is not a form here.

Parameters:

expr (Expr)

Return type:

str