sum MethodStatic
return the sum of numbers in an array. Note that "PreciseSum" may be more accurate.
sum(data: number[] | Float64Array): number
Parameter | Type | Description |
---|---|---|
data | number[] | Float64Array |
Returns - number
Defined in
- geometry3d/PointHelpers.ts Line 90
Last Updated: 30 November, 2023