CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

function

LieGroups.Rn.adjoint

R^n group adjoint

Public declarations

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

RoleNameTypeDimensions / attributes / defaultDescription
inputelementReal[:]
outputAdReal[size(element, 1), size(element, 1)]

Modelica declarations and implementation

Show parameters, interfaces and source

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

function adjoint "R^n group adjoint"
  input Real element[:];
  output Real Ad[size(element, 1), size(element, 1)];
algorithm
  Ad := identity(size(element, 1));
end adjoint;