Dgp2Dcp.constant_canon: Dgp2Dcp canonicalizer for the constant atom

View source: R/dgp2dcp.R

Dgp2Dcp.constant_canonR Documentation

Dgp2Dcp canonicalizer for the constant atom

Description

Dgp2Dcp canonicalizer for the constant atom

Usage

Dgp2Dcp.constant_canon(expr, args)

Arguments

expr

An Expression object

args

A list of values for the expr variable

Value

A canonicalization of the constant atom of a DGP expression, where the returned expression is the DCP equivalent resulting from the log of the expression.


CVXR documentation built on June 27, 2024, 5:11 p.m.