.Modelica.ComplexMath.max

Return maximum element of complex vector

Information

This function returns the largest element of the Complex input vector, defined by the Complex absolute.

Interface

function max
  extends Modelica.Icons.Function;
  input Complex v[:] "Vector";
  output Complex result "Element of v with largest absolute value";
  output Integer index "v[index] has the largest absolute value";
end max;

Generated at 2025-09-07T18:31:54Z by OpenModelicaOpenModelica 1.25.3 using GenerateDoc.mos