The SparseConstraintCoefficients type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SparseConstraintCoefficients | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| AsDoubleVector |
Method to convert self to a dense vector.
| |
| Clone |
Creates a deep copy of self.
| |
| DotProduct |
Function for forming the dot product of self with another vector.
| |
| Equals | Overloaded. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| NonzeroIndices |
Enumerator over the indices of the non-zero coefficients.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| 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.
|