Learn R Programming

CVXR (version 1.9.1)

is_vector: Is the Expression a Vector?

Description

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

Usage

is_vector(x)

Value

Logical.

Arguments

x

A CVXR expression.

See Also

size(), is_scalar(), is_matrix()