is_vector: Is the Expression a Vector?

View source: R/257_zzz_R_specific_exports.R

is_vectorR Documentation

Is the Expression a Vector?

Description

Returns TRUE if the expression has at most one dimension greater than 1.

Usage

is_vector(x)

Arguments

x

A CVXR expression.

Value

Logical.

See Also

size(), is_scalar(), is_matrix()


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