TOTAL Function

Sums the elements of an input array.

Usage

Input Parameters

Returned Value

Keywords

Discussion


NOTE: If the input is of type byte, integer, or long, TOTAL performs its summation in long arithmetic. This is faster than performing the summation in floating-point arithmetic. To sum an array of longs with floating-point arithmetic, you must first convert the long values to double precision.

Example 1








Example 2

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.