Transform a vector of complex values defined as a real Zeros matrix to polar form


encapsulated function toPolarForm
  import Modelica;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.Internal;
  input Real Zeros[:, 2] "Zeros as Real matrix (first column: real, second column imaginary values)";
  output Real A[size(Zeros, 1)] "Amplitudes of Zeros";
  output Modelica.SIunits.Angle phi[size(Zeros, 1)] "Angles of zeros";
  output Boolean oneZeroAmplitude "=true: at least one element of Zeros has zero amplitude";
end toPolarForm;

Generated at 2020-04-02T01:37:38Z by OpenModelicaOpenModelica 1.16.0~dev-259-g8a5138f using GenerateDoc.mos