Click or drag to resize

SparseConstraintCoefficients(IDictionaryInt32, Double, Int32) Constructor

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

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public SparseConstraintCoefficients(
	IDictionary<int, double> nonzeroCoefficients,
	int numberOfCoefficients
)

Parameters

nonzeroCoefficients  IDictionaryInt32, Double
Map specifying the non-zero coefficients values and the zero-based index.
numberOfCoefficients  Int32
Number of coefficients.
See Also