CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

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.

RoleNameTypeDimensions / attributes / defaultDescription
inputomegaReal
outputmatrixRepresentationReal[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;