Constraint Collection.Item Property
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.