MathProgExtensionsHasValue(ParameterBuilderIndicesDimension0, Double, String) Method

Finalizes the parameter builder and returns the resulting 0-dimensional parameter ParD0.

The resulting parameter has the given value.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public static ParD0 HasValue(
	this ParameterBuilderIndices<Dimension0> state,
	double value,
	string expression = ""
)

Parameters

state  ParameterBuilderIndicesDimension0
State of the builder.
value  Double
Value of the parameter.
expression  String  (Optional)
Value expression.

Return Value

ParD0

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ParameterBuilderIndicesDimension0. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also