blockSum
Add two vectors of equal length
Extends from Interfaces.Basics.BaseConverter (Basic converter class).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output vector y is the sum of the input vectors u1 and u2, which need to have length nin:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Structural Parameters | |||
| Integer | nin | 2 | Length of input and output vectors |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.RealMultiInput[nin] | u1 | Input vector 1 | |
| Interfaces.Connectors.RealMultiInput[nin] | u2 | Input vector 2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealMultiOutput[nin] | y | Output with same dimension as inputs |