[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/datafun]

sum

(/tools/hpmatlab/toolbox/matlab/datafun/sum.m)


Help text

SUM	Sum of the elements.
	For vectors, SUM(X) is the sum of the elements of X.
 	For matrices, SUM(X) is a row vector with the sum over
 	each column. SUM(DIAG(X)) is the trace of X.

	See also PROD, CUMPROD, CUMSUM.

Cross-Reference Information

This is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON