Table of Contents

Class Log

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that calculates the natural logarithm of the absolute value of every element in the sequence.

public class Log : ArrayTransform
Inheritance
Log
Inherited Members

Methods

Process(IObservable<double>)

Calculates the natural logarithm of each 64-bit floating-point number in the sequence.

public IObservable<double> Process(IObservable<double> source)

Parameters

source IObservable<double>

A sequence of 64-bit floating-point numbers.

Returns

IObservable<double>

A sequence of 64-bit floating-point numbers, where each value represents the natural logarithm of the corresponding number in the source sequence. See Log(double).

Process<TArray>(IObservable<TArray>)

Calculates the natural logarithm of the absolute value of every element for each array in the sequence.

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 element of the array represents the natural logarithm of the corresponding element in the source sequence.

Type Parameters

TArray

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