Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Complex2Real.canonicalize_expr

Canonicalizes a Complex Expression


Description

Canonicalizes a Complex Expression

Usage

Complex2Real.canonicalize_expr(expr, real_args, imag_args, real2imag, leaf_map)

Arguments

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.

leaf_map

A map that consists of a tree representation of the overall expression

Value

A list of the parsed out real and imaginary components of the expression at hand.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.