pg.scalars.Negation¶ Accessible via pg.scalars.Negation. class Negation(x)[source]¶ Bases: pg.scalars.UnaryOp Negation operator. Methods: operate(x) Implementation of the operation on a computed value. operate(x)[source]¶ Implementation of the operation on a computed value. Return type: Union[int, float]