Dundas Chart for Windows Forms
GammaFunction Method
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Statistics Class : GammaFunction Method


n
The value to find the gamma function for. Must be a positive, non-zero number.
Parameter for gamma function

Enterprise Edition Only Feature. This method returns the gamma function value for the given variable.


Calculates Gamma Function

Syntax

Visual Basic (Declaration)  
Public Function GammaFunction( _
   ByVal n As Double _
) As Double
Visual Basic (Usage) Copy Code
Dim instance As Statistics
Dim n As Double
Dim value As Double
 
value = instance.GammaFunction(n)
C#  
public double GammaFunction( 
   double n
)

Parameters

n
The value to find the gamma function for. Must be a positive, non-zero number.
Parameter for gamma function

Return Value

Returns gamma function

Example

The following returns the gamma function value for the given argument.
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
...

Dim result As Double = Chart1.DataManipulator.Statistics.GammaFunction(6.2)
C# Copy Code
using Dundas.Charting.WinControl;
...

double result = Chart1.DataManipulator.Statistics.GammaFunction(6.2);

Remarks

This method returns the gamma function value for the given variable specified by  n.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.