Commit c154949a authored by Andi Braimllari's avatar Andi Braimllari Committed by David Frank
Browse files

#105 Add real() and imag() free function

For a complex DataContainer real() and imag() return the real
and imaginary part of it respectively. The return type is a
real valued DataContainer.

Note, similar to the standard library (std::real and std::imag),
non-complex DataContainers are treated as complex with zero
imaginary component.
parent 13334211
Pipeline #703793 passed with stages
in 11 minutes and 28 seconds