Constraint Collection.Item Property
Definition
Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Item[Int32] | Gets a constraint from the collection. |
Item[String] | Gets or sets a Constraint in this collection. |
Item(Int32)
Gets a constraint from the collection.
public Constraint this[
int index
] { get; }
Parameters
- index Int32
- The zero-based index of the constraint.
Return Value
ConstraintThe Constraint.
Item(String)
Gets or sets a Constraint in this collection.
public Constraint this[
string key
] { get; set; }
Parameters
- key String
- The name of the constraint.
Return Value
ConstraintThe specified Constraint.