Learn R Programming

CVXR (version 1.9.1)

is_matrix: Is the Expression a Matrix?

Description

Returns TRUE if the expression has both dimensions greater than 1.

Usage

is_matrix(x)

Value

Logical.

Arguments

x

A CVXR expression.

See Also

size(), is_scalar(), is_vector()