This class represents the kronecker product.
Kron(lh_exp, rh_exp)
# S4 method for class 'Kron'
to_numeric(object, values)
# S4 method for class 'Kron'
validate_args(object)
# S4 method for class 'Kron'
dim_from_args(object)
# S4 method for class 'Kron'
sign_from_args(object)
# S4 method for class 'Kron'
is_incr(object, idx)
# S4 method for class 'Kron'
is_decr(object, idx)
# S4 method for class 'Kron'
graph_implementation(object, arg_objs, dim, data = NA_real_)
An Expression or numeric constant representing the left-hand matrix.
An Expression or numeric constant representing the right-hand matrix.
A Kron object.
A list of arguments to the atom.
An index into the atom.
A list of linear expressions for each argument.
A vector with two elements representing the size of the resulting expression.
A list of additional data required by the atom.
to_numeric(Kron)
: The kronecker product of the two values.
validate_args(Kron)
: Check both arguments are vectors and the first is a constant.
dim_from_args(Kron)
: The dimensions of the atom.
sign_from_args(Kron)
: The sign of the atom.
is_incr(Kron)
: Is the left-hand expression positive?
is_decr(Kron)
: Is the right-hand expression negative?
graph_implementation(Kron)
: The graph implementation of the atom.
lh_exp
An Expression or numeric constant representing the left-hand matrix.
rh_exp
An Expression or numeric constant representing the right-hand matrix.