|
FhSim
3.1.0
Marine systems simulation
|
Vector 2-norm of input (Pythagorean).
Collaboration diagram for Vector norm:With input \(x\), the output is calculated as \(\|x\|_2 = \sqrt{x_{1}^{2} + x_{2}^{2} + ... + x_{N}^{2}}\), where N is the number of std::vector elements in \(x\).
| Name | Width | Description |
|---|---|---|
| In | <PortWidth> | The input port |
| Name | Width | Description |
|---|---|---|
| Out | <PortWidth> | The norm of "In". |
| Name | Width | Description |
|---|---|---|
| PortWidth | 1 | The number of elements in the signal. |
This SimObject contains no initial conditions.
This SimObject is referred to as Math/VectorNorm