Table of Contents

Method Process

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Process<TArray>(IObservable<TArray>)

Counts all the non-zero elements for each array in an observable sequence.

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

Parameters

source IObservable<TArray>

The sequence of array-like objects for which to count non-zero elements.

Returns

IObservable<int>

A sequence of int values representing the number of non-zero elements in each array.

Type Parameters

TArray

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