3.5.2.51 Total

Description

Returns the sum of a vector.

Syntax

double Total(dataset vd)

Parameters

vd

Input data vector.

Return

Returns the sum of specified dataset.

Example

double ee=total(col(A));
ee=;// Should return the sum of col(A).

See Also

Median, Min, Max, Mean, Sum