STK ObjectsSend comments on this topic.
ComputeStatistic Method (IAgDrStatistics)
See Also
Statistic
Windows





Windows & Linux

Description

Computes the requested statistic for the data set.

Syntax

[Visual Basic .NET]
Public Function ComputeStatistic( _
    ByVal Statistic As AgEStatistics _
) As IAgDrStatisticResult
[C#]
public IAgDrStatisticResult ComputeStatistic(
    AgEStatistics Statistic
);
[Managed C++]
public: IAgDrStatisticResult^ ComputeStatistic(
    AgEStatistics Statistic
);
[Unmanaged C++]
public: HRESULT ComputeStatistic(
    AgEStatistics Statistic,
    IAgDrStatisticResult ** ppRetVal
);
[Java]
public IAgDrStatisticResult computeStatistic(
    AgEStatistics Statistic
);
[Python - STK API ]
def ComputeStatistic(self, Statistic:"AgEStatistics") -> "IAgDrStatisticResult":

Parameters

Statistic

See Also

Example

Compute statistic on data set
[C#]
IAgDrStatisticResult result = dataSet.Statistics.ComputeStatistic(AgEStatistics.eStdDev);
Console.WriteLine("{0}", dataSet.ElementName);
Console.WriteLine("\tStandard Deviation: {0}", result.Value);
Compute statistic on data set
[Visual Basic .NET]
Dim result As IAgDrStatisticResult = dataSet.Statistics.ComputeStatistic(AgEStatistics.eStdDev)
Console.WriteLine("{0}", dataSet.ElementName)
Console.WriteLine(vbTab & "Standard Deviation: {0}", result.Value)
© 2024 Analytical Graphics, Inc. All Rights Reserved.