# -*- mode: snippet -*- # key: sum # contributor: Translated from TextMate Snippet # name: Sum of Elements # -- sum(${1:source}${2:, dim=${3:1}}${4:, mask=${5:($1>0)}})