'abs'

Absolute value of complex number

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This function returns the Real absolute of the Complex input, i.e., its length.

Syntax

result = 'abs'(c)

Inputs (1)

c

Type: Complex

Description: Complex number

Outputs (1)

result

Type: Real

Description: = abs(c)