Blocks.IntegerToBoolean
This component extends from partialBooleanSO
Usage
TranslatedComponents.Blocks.IntegerToBoolean(threshold=1)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
threshold | Output signal y is true, if input u >= threshold | – | 1 |
Connectors
y- (BooleanOutput)u- (IntegerInput)
Behavior
Source
dyad
component IntegerToBoolean
extends partialBooleanSO
u = IntegerInput()
# Output signal y is true, if input u >= threshold
parameter threshold::Integer = 1
relations
y = u >= threshold
endFlattened Source
dyad
component IntegerToBoolean
y = BooleanOutput()
u = IntegerInput()
# Output signal y is true, if input u >= threshold
parameter threshold::Integer = 1
relations
y = u >= threshold
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses