Complex

abs-funktion

Returns the absolute value of the argument.

Syntax

abs(z)

Beskrivning

The abs function returns the absolute or numeric value of z, commonly written as |z|. z may be any numeric expression that evaluates to a real number or a complex number. abs(z) always returns a positive real value.

arg-funktion

Returns the argument of the parameter.

Syntax

arg(z)

Beskrivning

The arg function returns the argument or angle of z. z may be any numeric expression that evaluates to a real number or a complex number. arg(z) always returns a real number. The result may be in radianer or degrees depending on the current settings. The angle is always between -π and π. If z is a real number, arg(z) is 0 for positive numbers and π for negative numbers. arg(0) is undefined.

conj-funktion

Returns the conjugate of the argument.

Syntax

conj(z)

Beskrivning

The conj function returns the conjugate of z. z may be any numeric expression that evaluates to a real number or a complex number. The function is defined as: conj(z) = re(z) - i*im(z).

re-funktion

Returns the real part of the argument.

Syntax

re(z)

Beskrivning

The re function returns the real part of z. z may be any numeric expression that evaluates to a real number or a complex number.

im-funktion

Returns the imaginary part of the argument.

Syntax

im(z)

Beskrivning

The im function returns the imaginary part of z. z may be any numeric expression that evaluates to a real number or a complex number.