> In conclusion I think we came to the following
> 
> public double sign(double d);
> +1 : d > 0
> 0  : d = 0
> -1 : d < 0
> 
> public double indicator(double d);
> +1 : d >= 0
> -1 : d < 0
> 
> -Mark

I think I misstated the properties of an indicator function in the
original thread.

An indicator function returns 0 or 1, not -1 or 1.

I don't know if this should impact our choice of method names or not. 
Maybe just good documentation is needed to prevent any confusion.

Brent Worden
http://www.brent.worden.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to