Click or drag to resize
VariableGammaFromShapeAndScale Method (Double, Double)
Microsoft Research
Creates a Gamma-distributed random variable with specified shape and scale parameters.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<double> GammaFromShapeAndScale(
	double shape,
	double scale
)

Parameters

shape
Type: SystemDouble
The shape parameter value.
scale
Type: SystemDouble
The scale parameter value.

Return Value

Type: VariableDouble
Returns a Gamma-distributed random variable with the specified shape and scale parameters.
See Also