LIBRARY
Math.IntegerToReal
Convert Integer to Real signals.
This block computes the Real output y from the Integer input u:
y = uUsage
BlockComponents.Math.IntegerToReal()
Connectors
u- This connector represents an integer signal as an input to a component (IntegerInput)y- This connector represents a real signal as an output from a component (RealOutput)
Behavior
Source
dyad
"""
Convert Integer to Real signals.
This block computes the Real output `y` from the Integer input `u`:
```
y = u
```
"""
component IntegerToReal
"Connector of Integer input signal"
u = IntegerInput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
},
"tags": []
}
}
"Connector of Real output signal"
y = RealOutput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
},
"tags": []
}
}
relations
y = u
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
"icons": {"default": "dyad://BlockComponents/IntegerToReal.svg"}
}
}
endFlattened Source
dyad
"""
Convert Integer to Real signals.
This block computes the Real output `y` from the Integer input `u`:
```
y = u
```
"""
component IntegerToReal
"Connector of Integer input signal"
u = IntegerInput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
},
"tags": []
}
}
"Connector of Real output signal"
y = RealOutput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
},
"tags": []
}
}
relations
y = u
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
"icons": {"default": "dyad://BlockComponents/IntegerToReal.svg"}
}
}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses
Tests