Click or drag to resize
VariableFunctionEvaluate Method
Microsoft Research
Evaluate a random function at a point

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<double> FunctionEvaluate(
	Variable<IFunction> func,
	Variable<Vector> x
)

Parameters

func
Type: MicrosoftResearch.Infer.ModelsVariableIFunction
A random function
x
Type: MicrosoftResearch.Infer.ModelsVariableVector
The location to evaluate the function

Return Value

Type: VariableDouble
A new variable equal to func(x)
See Also