Click or drag to resize
VariableArrayT Class
Microsoft Research
One-dimensional flat variable array.
Inheritance Hierarchy
      VariableArrayBaseVariableT, T
        MicrosoftResearch.Infer.ModelsVariableArrayVariableT, T

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
public class VariableArray<T> : VariableArray<Variable<T>, T[]>, 
	IVariableArray<T>, SettableTo<VariableArray<T>>, IVariableArray, IVariable, 
	IModelExpression, HasObservedValue

Type Parameters


The VariableArrayT type exposes the following members.

Public methodAttrib(ICompilerAttribute)
Inline method for adding an attribute to a random variable. This method returns the random variable object, so that is can be used in an inline expression. e.g. Variable.GaussianFromMeanAndVariance(0,1).Attrib(new MyAttribute());
Public methodAttrib(QueryType)
Helper to add a query type attribute to this variable.
Public methodClone
Clone the array
(Overrides VariableArrayTItem, TArrayClone.)
Public methodNamed
Set the name of the array.
Public methodSetTo
Set the 1-D array to the given value
Explicit Interface Implementations
See Also