Predefined Functions – imag
Function name: | imag – Return imaginary part of number |
Synopsis: | imag(x) |
Input data type | Output data type |
---|---|
real | real |
complex | real |
quaternion | real |
Description:
Returns the imaginary part of a complex or quaternion number. The result is always a real number. The imaginary part of a real number is always 0.