Skip to content
Blocks.IntegerToBoolean.md

Blocks.IntegerToBoolean ​

This component extends from partialBooleanSO

Usage ​

TranslatedComponents.Blocks.IntegerToBoolean(threshold=1)

Parameters: ​

NameDescriptionUnitsDefault value
threshold–1

Connectors ​

Behavior ​

y(t)=u(t)≥threshold

Source ​

dyad
component IntegerToBoolean
  extends partialBooleanSO
  u = IntegerInput()
  parameter threshold::Integer = 1
relations
  y = u >= threshold
end
Flattened Source
dyad
component IntegerToBoolean
  y = BooleanOutput()
  u = IntegerInput()
  parameter threshold::Integer = 1
relations
  y = u >= threshold
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses