numpy.imag

numpy.imag(val)

Return the imaginary part of array.

Parameters:

val : array_like

Input array.

Returns:

out : ndarray, real or int

Real part of each element, same shape as val.

Previous topic

numpy.real

Next topic

numpy.conj

This Page

Quick search