MathProgExtensionsHasValues(ParameterBuilderIndicesDimension1, FunVec1`1Double, String) Method

Finalizes the parameter builder and returns the resulting 1-dimensional parameter ParD1.

The resulting parameter has values defined by the given 1-dimensional functional vector.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public static ParD1 HasValues(
	this ParameterBuilderIndices<Dimension1> state,
	FunVec1<double> values,
	string expression = ""
)

Parameters

state  ParameterBuilderIndicesDimension1
State of the builder.
values  FunVec1Double
1-dimensional functional vector of values of the parameter.
expression  String  (Optional)
Values expression.

Return Value

ParD1

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ParameterBuilderIndicesDimension1. 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