![]() | SparseConstraintCoefficients Class |
Namespace: CenterSpace.NMath.Core
The SparseConstraintCoefficients type exposes the following members.
Name | Description | |
---|---|---|
![]() | SparseConstraintCoefficients |
Constructs an empty SparseConstraintCoefficients object.
|
![]() | SparseConstraintCoefficients(IDictionaryInt32, Double, Int32) |
Constructs a SparseConstraintCoefficients vector with the given length
and non-zero values.
|
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.
|
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 |
Determines if two SparseConstraintCoefficient objects are equal.
|
![]() | NonzeroIndices |
Enumerator over the indices of the non-zero coefficients.
|