Function: sum(gradient[1](product(numbers("yxx"), numbers('ryy')) if numbers('ryy') > band pass(product(numbers("yxx"), numbers('ryy'))) else numbers("yxx")), band pass(product(numbers("yxx"), numbers('ryy'))) if numbers("yxx") > product(numbers("yxx"), numbers('ryy')) else numbers('ryy'))