Skip to main content
Corvus Connection

Sum

Collection
advanced.reduceAdds up a numeric sequence into a single total. SIMD-accelerated for int / long / float / double.Sums a numeric collection — a Vector<T> stride loop over its span, with a scalar remainder.

Inputs

Name
Kind
Type
Flags
sourceDataanyNone

Outputs

Name
Kind
Type
Flags
valueDataanymultiplexed

Parameters

Name
Type
Required
Default
Choices
elementTypeSystem.Stringyes"System.Int32"None

Lowers to C#

Vector<T> stride-sum over CollectionsMarshal.AsSpan (serial Enumerable.Sum for decimal)