imag(value)

import almafa.engine.builtinFunctions-1

Imaginary part of a complex number.

valueThe input.
return valueThe imaginary part of the input.

In case of matrices, the result will be calculated elementwise.

import almafa.engine.builtinFunctions-1;
imag(2+4i)