Infer.NET Documentation
DiscretePointMass Method (value, numValues)
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableDiscretePointMass(Int32, Int32)
Microsoft Research, Cambridge
Creates a discrete random variable that is a Pointmass at Value
Declaration Syntax
C#Visual BasicVisual C++
public static Variable<int> DiscretePointMass(
	int value,
	int numValues
)
Public Shared Function DiscretePointMass ( _
	value As Integer, _
	numValues As Integer _
) As Variable(Of Integer)
public:
static Variable<int>^ DiscretePointMass(
	int value, 
	int numValues
)
Parameters
value (Int32)
Value at which variable is Pointmass
numValues (Int32)
Total number of values that the variable can take
Return Value
Discrete random variable that is Pointmass at value

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