Learn R Programming

CVXR (version 1.9.1)

is_scalar: Is the Expression a Scalar?

Description

Is the Expression a Scalar?

Usage

is_scalar(x)

Value

Logical.

Arguments

x

A CVXR expression.

See Also

size(), is_vector(), is_matrix()