function
LieGroups.DirectProduct.SE2R3R3.product
Direct-product group product
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | x | Real | [9] | |
| input | y | Real | [9] | |
| output | result | Real | [9] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function product "Direct-product group product"
input Real x[9];
input Real y[9];
output Real result[9];
algorithm
result[1:3] := LieGroups.SE2.product(x[1:3], y[1:3]);
result[4:6] := LieGroups.Rn.product(x[4:6], y[4:6]);
result[7:9] := LieGroups.Rn.product(x[7:9], y[7:9]);
end product;