.Modelica_LinearSystems2.Internal.toPolarForm

Information

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

Interface

encapsulated function toPolarForm
  extends Modelica.Icons.Function;
  import Modelica;
  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.Units.SI.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 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos