blockNotZero
True, if u is not zero
Extends from Interfaces.PartialConverters.SIBooleanSO (Generic converter with real input and boolean output).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The boolean output y is true, if the real input u is not equal to zero, and false else.
Notes
If the inputs are restricted to either 0 or 1, then NotZero can be seen as an inverse Boole.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tolerance | eps | Threshold for zero equivalence, i.e., max tolerated absolute deviation |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.BooleanOutput | y (from BooleanSO) | Boolean output | |
| Connectors.RealInput | u (from SIBooleanSO) | Input |
Revisions
- Updated in v2.0.0.