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

Boole, Threshold

Parameters

TypeNameDefaultDescription
RealtoleranceepsThreshold for zero equivalence, i.e., max tolerated absolute deviation

Connectors

TypeNameDefaultDescription
Connectors.BooleanOutputy (from BooleanSO)Boolean output
Connectors.RealInputu (from SIBooleanSO)Input

Revisions

  • Updated in v2.0.0.