cvxr_promote: Promote a scalar expression to the given shape

View source: R/036_atoms_affine_promote.R

cvxr_promoteR Documentation

Promote a scalar expression to the given shape

Description

Promote a scalar expression to the given shape

Usage

cvxr_promote(expr, shape)

Arguments

expr

An expression

shape

Target shape

Value

The expression (unchanged if already the right shape) or a Promote atom


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