pg.scalars.Absolute

Accessible via pg.scalars.Absolute.

class Absolute(x)[source]

Bases: pg.scalars.UnaryOp

Absolute 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]