Package Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF
Icon for packages containing functions

Information

Standard package icon.

Extends from Modelica.​Icons.​FunctionsPackage (Icon for packages containing functions).

Package Contents

NameDescription
'*'Multiplication
'+'Add two complex numbers
'-'Subtract two complex numbers
'/'Divide two complex numbers
'^'Complex power of complex number
'log'Logarithm of complex number
toRealExtract Real part from Complex number

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​toReal
Extract Real part from Complex number

Information

This function returns the real part of a complex number.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexcComplex number

Outputs

TypeNameDescription
RealresultReal number

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​'-'
Subtract two complex numbers

Information

This function returns the difference of two given Complex numbers.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexc1Complex number 1
MyComplexc2Complex number 2

Outputs

TypeNameDescription
MyComplexc3= c1 - c2

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​'*'
Multiplication

Information

This function returns the product of two given Complex numbers.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexc1Complex number 1
MyComplexc2Complex number 2

Outputs

TypeNameDescription
MyComplexc3= c1*c2

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​'+'
Add two complex numbers

Information

This function returns the sum of two given Complex numbers.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexc1Complex number 1
MyComplexc2Complex number 2

Outputs

TypeNameDescription
MyComplexc3= c1 + c2

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​'/'
Divide two complex numbers

Information

This function returns the quotient of two given Complex numbers.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexc1Complex number 1
MyComplexc2Complex number 2

Outputs

TypeNameDescription
MyComplexc3= c1/c2

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​'^'
Complex power of complex number

Information

This function returns the given Complex numbers c1 to the power of the Complex number c2.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexc1Complex number
MyComplexc2Complex exponent

Outputs

TypeNameDescription
MyComplexc3= c1^c2

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​Ice09_Utilities.​Basic.​MyComplexF.​'log'
Logarithm of complex number

Information

This function returns the Complex natural logarithm of the Complex input.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
MyComplexc1Complex number

Outputs

TypeNameDescription
MyComplexc2= log(c1)

Generated 2018-12-12 12:13:51 EST by MapleSim.