Complex canonicalizer for the imaginary atom
Complex2Real.imag_canon(expr, real_args, imag_args, real2imag)
expr
: An Expression objectreal_args
: A list of Constraint objects for the real part of the expressionimag_args
: A list of Constraint objects for the imaginary part of the expressionreal2imag
: A list mapping the ID of the real part of a complex expression to the ID of its imaginary part.A canonicalization of an imaginary atom, where the returned variables are the imaginary component and NULL for the real component.