blockScalarMultiplication
Multiplication of a vector with a scalar
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 obtained by multiplying the input vector u1 with the scalar input u2:
The vectors y and u1 will have the same length nin.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Structural Parameters | |||
| Integer | nin | 2 | Length of input vector |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.RealMultiInput | u1 | Input vector of length nin | |
| Interfaces.Connectors.RealInput | u2 | Input of scalar value |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealMultiOutput[nin] | y | Output vector |