Thanks to visit codestin.com
Credit goes to docs.rs

imag

Function imag 

Source
pub fn imag<T: HasAfEnum>(input: &Array<T>) -> Array<T::AbsOutType>
Expand description

Extract imaginary values from a complex Array

This is an element wise unary operation.