.Modelica.ComplexMath.arg

Phase angle of complex number

Information

This function returns the Real argument of the Complex input, i.e., its angle.

Interface

function arg
  extends Modelica.Icons.Function;
  input Complex c "Complex number";
  input Modelica.Units.SI.Angle phi0 = 0 "Phase angle phi shall be in the range: -pi < phi-phi0 < pi";
  output Modelica.Units.SI.Angle phi "= phase angle of c";
end arg;

Generated at 2026-07-10T20:51:55Z by OpenModelicaOpenModelica 1.27.0 using GenerateDoc.mos