vec: Vectorize an expression (column vector)

View source: R/078_atoms_affine_vec.R

vecR Documentation

Vectorize an expression (column vector)

Description

Reshapes an expression into a column vector of shape (n*m, 1).

Usage

vec(x)

Arguments

x

An Expression or numeric value.

Value

A Reshape atom (column vector).


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