cvxr_promote: Promote a scalar expression to the given shape
Description
Promote a scalar expression to the given shape
Usage
cvxr_promote(expr, shape)
Value
The expression (unchanged if already the right shape) or a Promote atom
Arguments
- expr
An expression
- shape
Target shape