dimod.QuadraticModel.get_linear

QuadraticModel.get_linear(v: Hashable) Union[float, numpy.floating, numpy.integer][source]

Get the linear bias of the specified variable.

Parameters

v – Variable in the quadratic model.