Tuple#
- class ampl.Tuple#
AMPL immutable tuple.
Public Functions
- Tuple ()#
- Tuple (int i)
- Tuple (long i)
- Tuple (double i)
- Tuple (string i)
- Tuple (params object[] objects)
- override string ToString ()#
Returns a System.String that represents this instance.
- override bool Equals (object obj)#
Determines whether the specified System.Object, is equal to this instance, implements deep comparison.
- override int GetHashCode ()#
Returns a hash code for this instance.
Public Members
- TupleBase inner#
Properties
- int Size { get; set; }#
Gets the size (number of elements) of this tuple.
- ampl.Variant this[int index] {get;set;}
Gets the ampl.Variant at the specified index.