IMPART INDEX

IMPART _ _ _ _ _ _ _ _ _ _ _ _ operator

syntax:

impart(<expression>) or impart <simple\_expression >

This operator returns the imaginary part of an expression, if that argument has an numerical value. A non-numerical argument is returned as an expression in the operators repart and impart.

examples:


impart(1+i); 

  1 


impart(a+i*b); 

  REPART(B) + IMPART(A)