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