Function
partialSum
Computes the partial sum of a sequence.
Include Headers
seqan/parallel.h
Parameters
A sequence of elements that should be partially summed. Remarks: The sequence alphabet must support the | |
The resulting partial sum. This sequence will have the same length as | |
Tag to enable/disable parallelism. Default: Serial |
Return Values
The sum of all elements in source .
Remarks: The returned value equals the last value in target.
See Also
SeqAn - Sequence Analysis Library - www.seqan.de