dimod.DiscreteQuadraticModel.get_linear#

DiscreteQuadraticModel.get_linear(v)[source]#

The linear biases associated with variable v.

Parameters:

v – A variable in the discrete quadratic model.

Returns:

The linear biases in an array.

Return type:

ndarray