In reply to dave_59:
Thanks Dave. Now I understand
- simple sum of elements in a row
array1[i].sum with (int'(item)) == 100;
- sum of row with restriction on element selection
array1[i].sum with ((item inside {[0:7], [78:83], 90, 10}) ? item : 101) == 100;
and 3) sum with repetition of some specific elements
array1[i].sum with (int'(item)) == 100;
array1[i].sum with ((item == 10) ? 1 : 0) == 2;