Skip to content
  • Andi Braimllari's avatar
    #105 Add real() and imag() free function · c154949a
    Andi Braimllari authored and David Frank's avatar David Frank committed
    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.
    c154949a