The SparseConstraintCoefficients type exposes the following members.

Properties

  NameDescription
Item
Gets the coefficient value at the specified index. returns 0.0 on indices not listed in NonzeroIndices
NumberNonzero
Gets the number of non-zero coefficients.
NumberOfCoefficients
The total length of the coefficient vector represented by self. Note that this is not the number of non-zero coefficients, but the total number of coefficients.

See Also