function
LieGroups.SE23.Quat.vee
Homogeneous se_2(3) matrix to tangent
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | matrixRepresentation | Real | [5, 5] | |
| output | tangent | Real | [9] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function vee "Homogeneous se_2(3) matrix to tangent"
input Real matrixRepresentation[5, 5];
output Real tangent[9];
algorithm
tangent[1:3] := matrixRepresentation[1:3, 5];
tangent[4:6] := matrixRepresentation[1:3, 4];
tangent[7:9] := LieGroups.SO3.Quat.vee(matrixRepresentation[1:3, 1:3]);
end vee;