function
LieGroups.Rn.adjoint
R^n group adjoint
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | element | Real | [:] | |
| output | Ad | Real | [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;