Click or drag to resize
VariableMax Method
Microsoft Research
Returns a double variable which is the max of two double variables

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.7.1803.2803 (2.7.1803.2803)
Syntax
public static Variable<double> Max(
	Variable<double> a,
	Variable<double> b
)

Parameters

a
Type: MicrosoftResearch.Infer.ModelsVariableDouble
The first variable
b
Type: MicrosoftResearch.Infer.ModelsVariableDouble
The second variable

Return Value

Type: VariableDouble
A new variable
See Also