`R/complex2real.R`

`Complex2Real.hermitian_canon.Rd`

Complex canonicalizer for the hermitian atom

`Complex2Real.hermitian_canon(expr, real_args, imag_args, real2imag)`

- expr
An Expression object

- real_args
A list of Constraint objects for the real part of the expression

- imag_args
A list of Constraint objects for the imaginary part of the expression

- real2imag
A list mapping the ID of the real part of a complex expression to the ID of its imaginary part.

A canonicalization of a hermitian matrix atom, where the returned variables are the real component and the imaginary component.