Nothing
#####
## DO NOT EDIT THIS FILE!! EDIT THE SOURCE INSTEAD: rsrc_tree/atoms/affine/vec.R
#####
## CVXPY SOURCE: atoms/affine/vec.py
## Vec -- vectorize (flatten to column vector)
#' Vectorize an expression (column vector)
#'
#' Reshapes an expression into a column vector of shape (n*m, 1).
#'
#' @param x An Expression or numeric value.
#' @returns A Reshape atom (column vector).
#' @export
vec <- function(x) {
x <- as_expr(x)
Reshape(x, c(expr_size(x), 1L), order = "F")
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.