with_dpp_scope: Execute Expression Within DPP Scope

View source: R/003_utilities_scopes.R

with_dpp_scopeR Documentation

Execute Expression Within DPP Scope

Description

Within this scope, Parameter objects are treated as affine (not constant) for curvature analysis. This is used internally by is_dpp() to check DPP compliance.

Usage

with_dpp_scope(expr)

Arguments

expr

An R expression to evaluate within the DPP scope.

Value

The result of evaluating expr.


CVXR documentation built on March 6, 2026, 9:10 a.m.