Negative

class aixd.sampler.operators.Negative(arg1: Arithmetic)[source]

Bases: Arithmetic

Negation operation. Only operates when the evaluate method is called.

Parameters:

arg1 (Arithmetic operator) – Operator to negate.

Methods

evaluate

Evaluate the operator with given data.

Inherited Methods

is_differentiable

Check if the operator is differentiable.

print_all

Print the operator and all its arguments.