This class represents indexing using logical indexing or a list of indices into a matrix.
# S4 method for class 'Expression,index,missing,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,missing,index,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,index,index,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,matrix,index,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,index,matrix,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,matrix,matrix,ANY'
x[i, j, ..., drop = TRUE]
# S4 method for class 'Expression,matrix,missing,ANY'
x[i, j, ..., drop = TRUE]
SpecialIndex(expr, key)
# S4 method for class 'SpecialIndex'
name(x)
# S4 method for class 'SpecialIndex'
is_atom_log_log_convex(object)
# S4 method for class 'SpecialIndex'
is_atom_log_log_concave(object)
# S4 method for class 'SpecialIndex'
get_data(object)
# S4 method for class 'SpecialIndex'
.grad(object)
An Index 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.
name(SpecialIndex)
: Returns the index in string form.
is_atom_log_log_convex(SpecialIndex)
: Is the atom log-log convex?
is_atom_log_log_concave(SpecialIndex)
: Is the atom log-log concave?
get_data(SpecialIndex)
: A list containing key
.
.grad(SpecialIndex)
: Gives the (sub/super)gradient of the atom w.r.t. each variable
expr
An Expression representing a vector or matrix.
key
A list containing the start index, end index, and step size of the slice.