Infer.NET Documentation
VariableArray2D<(Of <(T>)>) Class
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableArray2D<(Of <(T>)>)
Microsoft Research, Cambridge
Two-dimensional flat variable array.
Declaration Syntax
C#Visual BasicVisual C++
public class VariableArray2D<T> : VariableArray2D<Variable<T>, T[,]>, 
	IVariableArray2D<T>, IVariableArray, IVariable, IModelExpression, HasObservedValue, 
	SettableTo<VariableArray2D<T>>
Public Class VariableArray2D(Of T) _
	Inherits VariableArray2D(Of Variable(Of T), T(,)) _
	Implements IVariableArray2D(Of T), IVariableArray, IVariable,  _
	IModelExpression, HasObservedValue, SettableTo(Of VariableArray2D(Of T))
generic<typename T>
public ref class VariableArray2D : public VariableArray2D<Variable<T>^, array<T,2>^>, 
	IVariableArray2D<T>, IVariableArray, IVariable, IModelExpression, HasObservedValue, 
	SettableTo<VariableArray2D<T>^>
Generic Template Parameters
T
Members
All MembersMethodsProperties



IconMemberDescription
Attrib(Object)
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());

Clone()()()
Clone this 2-D array
(Overrides VariableArray2D<(Of <(Variable<(Of <(T>)>), array< T ,2>[,](,)[,]>)>).Clone()()().)
IVariableArray2D<(Of <(T>)>)..::.Item[([(IModelExpression, IModelExpression])])
Sets/Gets element in array given by the index expressions

Named(String)
Set the name of the array.

SetTo(VariableArray2D<(Of <(T>)>))
Set this 2-D array to a specified value

Inheritance Hierarchy
Object
ConstrainableExpression
 Variable
  Variable<(Of <(TArray>)>)
   VariableArrayBase<(Of <(TItem, TArray>)>)
    VariableArray2D<(Of <(Variable<(Of <(T>)>), array< T ,2>[,](,)[,]>)>)
     VariableArray2D<(Of <(T>)>)

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