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