functionabs
Absolute value of complex number
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function returns the Real absolute of the Complex input, i.e., its length.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Complex | c | Complex number |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | result | = abs(c) |