function
LieGroups.SO2.wedge
so(2) scalar to skew-symmetric matrix
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | omega | Real | | |
| output | matrixRepresentation | Real | [2, 2] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function wedge "so(2) scalar to skew-symmetric matrix"
input Real omega;
output Real matrixRepresentation[2, 2];
algorithm
matrixRepresentation := [0.0, -omega; omega, 0.0];
end wedge;