is_matrix: Is the Expression a Matrix?

View source: R/257_zzz_R_specific_exports.R

is_matrixR Documentation

Is the Expression a Matrix?

Description

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

Usage

is_matrix(x)

Arguments

x

A CVXR expression.

Value

Logical.

See Also

size(), is_scalar(), is_vector()


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