Export (0) Print
Expand All

ConstraintSystem.Constant Method (Int32, Double)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a term for the immutable real value k.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public CspTerm Constant(
	int precision,
	double k
)

Parameters

precision
Type: System.Int32
The precision.
k
Type: System.Double
The value of the constant.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
A term for the immutable real value k.

This method only allows the following value: 1, 10, 100, 1000, and 1000.

Show:
© 2014 Microsoft