treams._operators.OperatorAttribute

treams._operators.OperatorAttribute#

class treams._operators.OperatorAttribute(op)[source]#

Attach an operator to an object as attribute.

When called as attribute of an object it returns a suitable matrix to transform it. It pulls the necessary parameters (like the treams._core.BasisSet) from the object it is attached to. See also Operator and the corresponding functions.

__init__(op)[source]#

Methods

__init__(op)

apply_left(*args, **kwargs)

apply_right(*args, **kwargs)

eval(*args, **kwargs)

eval_inv(*args, **kwargs)

Attributes

OP