function
LieGroups.Rn.small_adjoint
R^n algebra adjoint
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | tangent | Real | [:] | |
| output | ad | Real | [size(tangent, 1), size(tangent, 1)] |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function small_adjoint "R^n algebra adjoint"
input Real tangent[:];
output Real ad[size(tangent, 1), size(tangent, 1)];
algorithm
ad := zeros(size(tangent, 1), size(tangent, 1));
end small_adjoint;