toReal

Extract Real part from Complex number

Information

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

This function returns the real part of a complex number.

Syntax

result = toReal(c)

Inputs (1)

c

Type: MyComplex

Description: Complex number

Outputs (1)

result

Default Value: c.re

Type: Real

Description: Real number