This class represents indexing or slicing into a matrix.
# S4 method for class 'Expression,missing,missing,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,numeric,missing,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,missing,numeric,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,numeric,numeric,ANY'
x[i, j, ..., drop = TRUE]
Index(expr, key)
# S4 method for class 'Index'
to_numeric(object, values)
# S4 method for class 'Index'
dim_from_args(object)
# S4 method for class 'Index'
is_atom_log_log_convex(object)
# S4 method for class 'Index'
is_atom_log_log_concave(object)
# S4 method for class 'Index'
get_data(object)
# S4 method for class 'Index'
graph_implementation(object, arg_objs, dim, data = NA_real_)
# S4 method for class 'SpecialIndex'
to_numeric(object, values)
# S4 method for class 'SpecialIndex'
dim_from_args(object)
A Expression object.
The row and column indices of the slice.
(Unimplemented) Optional arguments.
(Unimplemented) A logical value indicating whether the result should be coerced to the lowest possible dimension.
An Expression representing a vector or matrix.
A list containing the start index, end index, and step size of the slice.
An Index object.
A list of arguments to the atom.
A list of linear expressions for each argument.
A vector representing the dimensions of the resulting expression.
A list of additional data required by the atom.
to_numeric(Index)
: The index/slice into the given value.
dim_from_args(Index)
: The dimensions of the atom.
is_atom_log_log_convex(Index)
: Is the atom log-log convex?
is_atom_log_log_concave(Index)
: Is the atom log-log concave?
get_data(Index)
: A list containing key
.
graph_implementation(Index)
: The graph implementation of the atom.
to_numeric(SpecialIndex)
: The index/slice into the given value.
dim_from_args(SpecialIndex)
: The dimensions of the atom.
expr
An Expression representing a vector or matrix.
key
A list containing the start index, end index, and step size of the slice.