Linearize double pendulum
function linearizeDoublePendulum extends Modelica.Icons.Function; output Real A[:, :] "State matrix"; output Real B[:, :] "Input matrix"; output Real C[:, :] "Output matrix"; output Real D[:, :] "Feedforward matrix"; output String inputNames[:] "Modelica names of inputs"; output String outputNames[:] "Modelica names of outputs"; output String stateNames[:] "Modelica names of states"; end linearizeDoublePendulum;