This class represents the 1-D discrete convolution of two vectors.
Conv(lh_exp, rh_exp)
# S4 method for class 'Conv'
to_numeric(object, values)
# S4 method for class 'Conv'
validate_args(object)
# S4 method for class 'Conv'
dim_from_args(object)
# S4 method for class 'Conv'
sign_from_args(object)
# S4 method for class 'Conv'
is_incr(object, idx)
# S4 method for class 'Conv'
is_decr(object, idx)
# S4 method for class 'Conv'
graph_implementation(object, arg_objs, dim, data = NA_real_)
An Expression or R numeric data representing the left-hand vector.
An Expression or R numeric data representing the right-hand vector.
A Conv object.
A list of arguments to the atom.
An index into 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(Conv)
: The convolution of the two values.
validate_args(Conv)
: Check both arguments are vectors and the first is a constant.
dim_from_args(Conv)
: The dimensions of the atom.
sign_from_args(Conv)
: The sign of the atom.
is_incr(Conv)
: Is the left-hand expression positive?
is_decr(Conv)
: Is the left-hand expression negative?
graph_implementation(Conv)
: The graph implementation of the atom.
lh_exp
An Expression or R numeric data representing the left-hand vector.
rh_exp
An Expression or R numeric data representing the right-hand vector.