Table of Contents

Class AbsoluteDifference

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that calculates the absolute difference between all pairs of arrays in the sequence.

public class AbsoluteDifference : BinaryArrayTransform
Inheritance
AbsoluteDifference
Inherited Members

Methods

Process<TArray>(IObservable<Tuple<TArray, TArray>>)

Calculates the absolute difference between all pairs of arrays in an observable sequence.

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

Parameters

source IObservable<Tuple<TArray, TArray>>

A sequence of pairs of multi-channel array values.

Returns

IObservable<TArray>

A sequence of multi-channel array values, where each array stores the absolute difference between each pair in the source sequence.

Type Parameters

TArray

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