Infer.NET Documentation
Copy<(Of <(T>)>) Method (x)
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableCopy<(Of <(T>)>)(Variable<(Of <(T>)>))
Microsoft Research, Cambridge
Returns a copy of the argument
Declaration Syntax
C#Visual BasicVisual C++
public static Variable<T> Copy<T>(
	Variable<T> x
)
Public Shared Function Copy(Of T) ( _
	x As Variable(Of T) _
) As Variable(Of T)
public:
generic<typename T>
static Variable<T>^ Copy(
	Variable<T>^ x
)
Generic Template Parameters
T
The domain type.
Parameters
x (Variable<(Of <(T>)>))
variable to be made copy of
Return Value
A new variable that is constrained to equal the argument.

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