The WeightedSum object adds two or more input values. A set of dimensionless constants can be provided to multiply each input value prior to addition.
y = C1*x1 + C2*x2 + … + CN*xN, if the coefficients Ci are specified
= x1 + x2 + … + xN , if the coefficients Ci are not specified
where:
y = present output value for the weighted sum
xi = present value for the ith input to the weighted sum
Ci = ith entry in the CoefficientList input
N = number of inputs to the weighted sum
The value returned by the WeightedSum is calculated on demand.