Gemstone Timeseries Library
Show/Hide TOC

# StatisticCalculationFunction Delegate

Method signature for function used to calculate a statistic for a given object.

## Definition

Namespace: Gemstone.Timeseries.Statistics
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.143 -- Release Build+6200516e1d8796210682e4fa5670553a73472309
C#
Request Example

    public delegate double StatisticCalculationFunction(
    	Object source,
    	string arguments
    )

VB
Request Example

    Public Delegate Function StatisticCalculationFunction (
    	source As Object,
    	arguments As String
    ) As Double

C++
Request Example

    public delegate double StatisticCalculationFunction(
    	Object^ source,
    	String^ arguments
    )

JavaScript
Request Example

    function(source, arguments);

#### Parameters

source Object
  Source object.
arguments String
  Any needed arguments for statistic calculation.

#### Return Value

Double
Actual calculated statistic.

## See Also

#### Reference

Gemstone.Timeseries.Statistics Namespace