CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

function

LieGroups.Rn.product

R^n group product

Public declarations

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

RoleNameTypeDimensions / attributes / defaultDescription
inputxReal[:]
inputyReal[size(x, 1)]
outputresultReal[size(x, 1)]

Modelica declarations and implementation

Show parameters, interfaces and source

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

function product "R^n group product"
  input Real x[:];
  input Real y[size(x, 1)];
  output Real result[size(x, 1)];
algorithm
  result := x + y;
end product;