constant_term: Compute the scalar product of two numeric vectors of the same length
Description
A helper function for evaluate_objective
.
Usage
constant_term(numbers1, numbers2)
Value
A string consisting of the value of the scalar product of numbers1
and numbers2
.
Arguments
- numbers1, numbers2
Two numeric vectors of the same length.