# Functions for handling quantities expressed by complex numbers

## Definition

In Flux 3D, a complex scalar or vector quantity is defined by its real part and its imaginary part.

## Use

The functions for handling the complex quantities can be used in the formulas with I/O parameters and in the formulas with spatial quantities.

## Principal functions

The functions of treatment of the complex quantities are gathered in the table below.

Functions for treatment of the complex quantities
ModC(x) Complex modulus of the complex expression x
Arg(x) Argument (in radians) of the complex expression x
Inst(z,t) Value at the moment t (in degrees) of the complex expression z
Real(x) Real part of the complex expression x
Imag(x) Imaginary part of the complex expression x
Conj(x) Conjugate of the complex expression x
Cmplx(x,y)

Complex expression built starting from the real expressions

x and y

x, y, z could be scalar or vector quantities

## Other functions

Two other functions of Flux 3D applied to complex quantities are described in the following paragraph. These are the vector modulus (ModV) and the general modulus (Mod) functions.