MathProgExtensionsHasValue(ParameterBuilderIndicesDimension0, FuncDouble, String) Method

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

Value of the resulting parameter will be obtained by the given function.

Definition

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

Parameters

state  ParameterBuilderIndicesDimension0
State of the builder.
getValue  FuncDouble
Function to get the 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