I have an index
CC and a set of values
c is an element of CM and
CM is a subset of
CC. I have two summations shown above. The first summation is over index
CC and the subset
CM. The light brown colored part of the first summation is telling that the summation should include only if
c is an element of
CM. The second summation is over the elements of
These two summations appear in an equation (not given here for simplicity). Is there an easy way to perform these summations?
EDIT 1 The answer to the above summations is as follows.
(* first summation *) tq*PD+ tq*PD+PM + tq*PD+PM + tq*PD+ tq*PD+ tq*PD+PM+ tq*PD (* Second summation *) tq*(PD+QD)+ tq*(PD+QD)+ tq*(PD+QD)