Constructs a SparseConstraintCoefficients vector with the given length and non-zero values.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public SparseConstraintCoefficients(
	IDictionary<int, double> nonzeroCoefficients,
	int numberOfCoefficients
)
Visual Basic (Declaration)
Public Sub New ( _
	nonzeroCoefficients As IDictionary(Of Integer, Double), _
	numberOfCoefficients As Integer _
)
Visual C++
public:
SparseConstraintCoefficients(
	IDictionary<int, double>^ nonzeroCoefficients, 
	int numberOfCoefficients
)

Parameters

nonzeroCoefficients
Type: System.Collections.Generic..::.IDictionary<(Of <(Int32, Double>)>)
Map specifying the non-zero coefficients values and the zero-based index.
numberOfCoefficients
Type: System..::.Int32

[Missing <param name="numberOfCoefficients"/> documentation for "M:CenterSpace.NMath.Analysis.SparseConstraintCoefficients.#ctor(System.Collections.Generic.IDictionary{System.Int32,System.Double},System.Int32)"]

See Also