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

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

Type Parameters

T

The VariableArrayT type exposes the following members.

Methods
  NameDescription
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
Top
Explicit Interface Implementations
See Also