function
LieGroups.SO2.product
SO(2) group product: angle addition
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | a | Real | | Left rotation angle [rad] |
| input | b | Real | | Right rotation angle [rad] |
| output | c | Real | | Result rotation angle [rad] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function product "SO(2) group product: angle addition"
input Real a "Left rotation angle [rad]";
input Real b "Right rotation angle [rad]";
output Real c "Result rotation angle [rad]";
algorithm
c := a + b;
end product;