jacopy.packages.metric_affine.Torsion

class jacopy.packages.metric_affine.Torsion(connection_name, X, Y, *, bundle=None, name=None)

Bases: Derivation

T(X, Y) — the torsion of a connection, itself a section (degree-0 atom, wedge degree 1; slot protocol on X, Y).

Parameters:
__init__(connection_name, X, Y, *, bundle=None, name=None)
Parameters:
Return type:

None

Methods

__init__(connection_name, X, Y, *[, bundle, ...])

clone()

Return self.

find(predicate)

Yield descendants (including self) satisfying predicate.

replace_at(path, new)

Return a new tree with new spliced at path.

substitute_atom(dummy, target)

Return self with every occurrence of dummy replaced by target.

walk()

Pre-order traversal yielding self followed by descendants through children only.

with_slots(X, Y)

Attributes

arguments

bundle

children

Tuple of immediate children.

connection_name

degree

is_atom

leibniz

a section value is no derivation (False); otherwise undecided (None — the class contract).

name

rewritable_slots

section_value

bool(x) -> bool

wedge_degree

property section_value: bool

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.