function
LieGroups.SO2.adjoint
SO(2) adjoint
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | angle | Real | | |
| output | Ad | Real | [1, 1] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function adjoint "SO(2) adjoint"
input Real angle;
output Real Ad[1, 1];
algorithm
Ad[1, 1] := 1.0;
end adjoint;