.Modelica.ComplexMath.fromPolar

Information

This function constructs a Complex number from its length (absolute) and angle (argument).

Interface

function fromPolar
  extends Modelica.Icons.Function;
  input Real len "abs of complex";
  input Modelica.Units.SI.Angle phi "arg of complex";
  output Complex c "= len*cos(phi) + j*len*sin(phi)";
end fromPolar;

Generated at 2024-05-16T18:15:58Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos