function conditionalSum input Real vec[:]; input Boolean con[:]; output Real conSum; end conditionalSum;