evaluate_objective: Compute the scalar product of a vector of numbers and a vector of both numbers and strings
Usage
evaluate_objective(c1_num, p, y)
Arguments
y
A numeric vector whose length is the sum of the lengths of c1_num
and p
.
Value
A string consisting of an affine expression in p
corresponding to the scalar product of c(c1_num, p)
with y
.