QuadraticExpression.coefficients

property QuadraticExpression.coefficients: scipy.sparse.dok.dok_matrix

Returns the coefficients of the quadratic expression.

Return type

dok_matrix

Returns

The coefficients of the quadratic expression.