blockDotProduct
Dot product of two vectors of equal length
Extends from Interfaces.PartialConverters.SO (Generic converter for signals).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output y is the dot product of the input vectors u1 and u2 which have the same length nin.
The dot product is defined as follows:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Structural Parameters | |||
| Integer | nin | 2 | Elements in the input vectors (length) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.RealMultiInput | u1 | Input vector 1 | |
| Interfaces.Connectors.RealMultiInput | u2 | Input vector 2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | ||
| Times | times | ||
| Total | total |