jacopy.research.Operator

class jacopy.research.Operator

Bases: object

A map between slots, Expr → Expr, with an additive structure. Subclasses implement apply().

__init__()

Methods

__init__()

apply(x)

same(other)

Structural sameness good enough for cancellation: identical objects, or both identities, or both zeros.

Attributes

is_identity

is_zero

name

same(other)

Structural sameness good enough for cancellation: identical objects, or both identities, or both zeros.

Parameters:

other (Operator)

Return type:

bool