|
sign |
(function for equations) |
|
Usage: |
sign (x) |
|
Definition: |
(x > 0) ? 1 : (x < 0) ? -1 : 0 |
|
Required: |
x is an unrestricted real |
Returns 1 if x is positive, -1 if x is negative, and 0 if x is zero.
|
sign |
(function for equations) |
|
Usage: |
sign (x) |
|
Definition: |
(x > 0) ? 1 : (x < 0) ? -1 : 0 |
|
Required: |
x is an unrestricted real |
Returns 1 if x is positive, -1 if x is negative, and 0 if x is zero.