Infer.NET Documentation
GammaFromShapeAndScale Method (shape, scale)
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableGammaFromShapeAndScale(Double, Double)
Microsoft Research, Cambridge
Creates a Gamma-distributed random variable from its shape and scale parameters.
Declaration Syntax
C#Visual BasicVisual C++
public static Variable<double> GammaFromShapeAndScale(
	double shape,
	double scale
)
Public Shared Function GammaFromShapeAndScale ( _
	shape As Double, _
	scale As Double _
) As Variable(Of Double)
public:
static Variable<double>^ GammaFromShapeAndScale(
	double shape, 
	double scale
)
Parameters
shape (Double)
The shape parameter of the Gamma distribution
scale (Double)
The scale parameter of the Gamma distribution
Return Value
Gamma-distributed random variable

Assembly: Infer.Compiler (Module: Infer.Compiler) Version: 2.3.41111.0 (2.3.41111.0)