imag

Imaginary part of complex number

Information

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

This function returns the imaginary part of the Complex input.

Syntax

r = imag(c)

Inputs (1)

c

Type: Complex

Description: Complex number

Outputs (1)

r

Type: Real

Description: = c.im