Random
Source Code

Lewisian Function

A mathematical function where the output is the opposite sign to the input.

A simple Lewisian function produces the negative of its input (-5 => 5, 5 => -5).

A more complex function that returns any real but conforms to the same sign constraints is also a Lewisian function.

by aie93 March 15, 2010