OperatorBase.neg

OperatorBase.neg()[source]

Return the Operator’s negation, effectively just multiplying by -1.0, overloaded by -.

Return type

OperatorBase

Returns

An OperatorBase equivalent to the negation of self.