View source: R/036_atoms_affine_promote.R
| cvxr_promote | R Documentation |
Promote a scalar expression to the given shape
cvxr_promote(expr, shape)
expr |
An expression |
shape |
Target shape |
The expression (unchanged if already the right shape) or a Promote atom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.