This virtual class represents atomic expressions that can be applied along an axis in CVXR.
# S4 method for AxisAtom
size_from_args(object)# S4 method for AxisAtom
get_data(object)
# S4 method for AxisAtom
validate_args(object)
size_from_args
: The size of the atom deteremined from its arguments.
get_data
: A list containing axis
.
validate_args
: Check that the new shape has the same number of entries as the old.
expr
A numeric element, data.frame, matrix, vector, or Expression.
axis
(Optional) The dimension across which to apply the function: 1
indicates rows, 2
indicates columns, and NA
indicates rows and columns. The default is NA
.