Table of Contents

Class Accumulate

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that calculates the cumulative sum of the arrays in a sequence and returns each intermediate result.

public class Accumulate : ArrayTransform
Inheritance
Accumulate
Inherited Members

Methods

Process<TArray>(IObservable<TArray>)

Calculates the cumulative sum of the arrays in an observable sequence and returns each intermediate result.

public override IObservable<TArray> Process<TArray>(IObservable<TArray> source) where TArray : Arr

Parameters

source IObservable<TArray>

A sequence of multi-channel array values.

Returns

IObservable<TArray>

A sequence of multi-channel array values, where each array stores the cumulative sum of all previous array values in the source sequence.

Type Parameters

TArray

The type of the array-like objects in the source sequence.