Dundas Chart for ASP.NET
GammaFunction Method
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl 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.WebControl<CRLF>...<CRLF><CRLF>Dim result As Double = Chart1.DataManipulator.Statistics.GammaFunction(6.2)
C# Copy Code
using Dundas.Charting.WebControl;<CRLF>...<CRLF><CRLF>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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.