function
LieGroups.Rn.vee
Recover an R^n algebra vector from its homogeneous matrix
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 | [:, size(matrixRepresentation, 1)] | |
| output | tangent | Real | [size(matrixRepresentation, 1) - 1] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function vee "Recover an R^n algebra vector from its homogeneous matrix"
input Real matrixRepresentation[:, size(matrixRepresentation, 1)];
output Real tangent[size(matrixRepresentation, 1) - 1];
algorithm
tangent := matrixRepresentation[
1:(size(matrixRepresentation, 1) - 1), size(matrixRepresentation, 1)];
end vee;