function assignPolesSI_rq
extends Modelica.Icons.Function;
import Modelica_LinearSystems2.StateSpace;
import Modelica_LinearSystems2.Math.Matrices;
import Modelica_LinearSystems2.ComplexMathAdds;
import Re = Modelica.ComplexMath.real;
import Im = Modelica.ComplexMath.imag;
input StateSpace ss;
input Complex gamma[size(ss.A, 1)];
output Real K[1, size(ss.A, 1)] "feedback matrix";
output Real S[size(ss.A, 1), size(ss.A, 1)] "Closed loop System matrix";
output Complex po[size(ss.A, 1)] "poles of the closed loop system";
end assignPolesSI_rq;