negation

public Double negation(Double x)

Negation function that s.t. De Morgan laws, double negation and inversion of the idempotent elements hold.

Return

the negation of the x element

Parameters

x

element to negate