ComplexMath

Library of complex mathematical functions (e.g., sin, cos) and of functions operating on complex vectors and matrices

Package Contents

Vectors

Library of functions operating on complex vectors

sin

Sine of complex number

cos

Cosine of complex number

tan

Tangent of complex number

asin

Arc-sine of complex number

acos

Arc-cosine of complex number

atan

Arc-tangent of complex number

sinh

Hyperbolic-sine of complex number

cosh

Hyperbolic-cosine of complex number

tanh

Hyperbolic-tangent of complex number

asinh

Area-hyperbolic-sine of complex number

acosh

Area-hyperbolic-cosine of complex number

atanh

Area-hyperbolic-tangent of complex number

exp

Exponential of complex number

log

Logarithm of complex number

'abs'

Absolute value of complex number

arg

Phase angle of complex number

conj

Conjugate of complex number

real

Real part of complex number

imag

Imaginary part of complex number

fromPolar

Complex from polar representation

'sqrt'

Square root of complex number

'max'

Return maximum element of complex vector

'min'

Return minimum element of complex vector

'sum'

Return sum of complex vector

'product'

Return product of complex vector

Package Constants (1)

j

Value: Complex(0, 1)

Type: Complex

Description: Imaginary unit

Information

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

This package contains basic mathematical functions operating on complex numbers (such as sin(..)), as well as functions operating on vectors of complex numbers.