sum edit page

sum of embedding

Syntax

sum(e)   % sum along the first non singular dimension
sum(e,d) % sum along dimension d

Input

e embedding
d dimension of sum over

Output

e embedding