linop_set_data_ndim: Set the data dimensionality on a LinOp

View source: R/017_lin_ops_LinOp.R

linop_set_data_ndimR Documentation

Set the data dimensionality on a LinOp

Description

Set the data dimensionality on a LinOp

Usage

linop_set_data_ndim(ptr, value)

Arguments

ptr

External pointer to a LinOp.

value

Integer dimensionality (0 = scalar, 2 = matrix).

Value

No return value (NULL), called for its side effect: the data dimensionality of the C++ LinOp behind ptr is set in place.


CVXR documentation built on Oct. 19, 2026, 5:07 p.m.