Sum the variables in an MVar. Returns an MLinExpr.
MVar
Return value:
The sum, as a linear matrix expression.
Example usage:
x.sum() x[:,1].sum()