real(value)

import almafa.engine.builtinFunctions-1

Real part of a complex number.

valueThe input.
return valueThe real part of the input.

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

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