IntegerVariable.numerical

IntegerVariable.numerical(index)
Parameters:

index (int) – an index

Returns:

the numerical representation of the value at the given index

Return type:

float

Example

import pyagrum as gum

n = gum.IntegerVariable("n", "n", [1, 3, 10])
n.numerical(2)
# 10.0

Class

IntegerVariable