CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

function

LieGroups.SO3.EulerB321.adjoint

SO(3) adjoint in B321 coordinates

Public declarations

Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.

RoleNameTypeDimensions / attributes / defaultDescription
inputelementReal[3]
outputAdReal[3, 3]

Modelica declarations and implementation

Show parameters, interfaces and source

Parameters, inputs, outputs, defaults and equations from the source file.

function adjoint "SO(3) adjoint in B321 coordinates"
  input Real element[3];
  output Real Ad[3, 3];
algorithm
  Ad := LieGroups.SO3.EulerB321.to_DCM(element);
end adjoint;