IParameter Interface¶
- Namespace
- Assemblies
AMPL
Syntax¶
public interface IParameter
- interface ampl.Entities.IParameter
Methods¶
- AsArray()¶
- Return type
ampl.VariantRef<ampl.VariantRef>[]
VariantRef[] AsArray()
- Get(System.Object[])¶
- Return type
VariantRef Get(params object[] index)
- Get(ampl.Tuple)
- Return type
VariantRef Get(Tuple t = null)
- GetEnumerator()¶
- Return type
System.Collections.Generic.IEnumerator<ampl.VariantRef>
IEnumerator<VariantRef> GetEnumerator()
- GetValues()¶
- Return type
DataFrame GetValues()
- GetValues(System.String[])
- Return type
DataFrame GetValues(params string[] suffixes)
- Set(System.Object)¶
void Set(object value)
- Set(ampl.Tuple, System.Double)
void Set(Tuple index, double value)
- Set(ampl.Tuple, System.String)
void Set(Tuple index, string value)
- SetValues(System.Double[])¶
void SetValues(double[] values)
- SetValues(System.Double[], System.Double[], System.Double[], System.Boolean)
void SetValues(double[] row_indices, double[] col_indices, double[] data, bool transpose)
- SetValues(System.String[])
void SetValues(string[] values)
- SetValues(System.String[], System.String[], System.Double[], System.Boolean)
void SetValues(string[] row_indices, string[] col_indices, double[] data, bool transpose)
- SetValues(ampl.DataFrame)
void SetValues(DataFrame data)
- SetValues(ampl.Tuple[], System.Double[])
void SetValues(Tuple[] indices, double[] values)
- SetValues(ampl.Tuple[], System.String[])
void SetValues(Tuple[] indices, string[] values)
- ToString()¶
- Return type
System.String
string ToString()
Properties¶
- ampl.Entities.IParameter.HasDefault¶
- Return type
System.Boolean
bool HasDefault { get; }
- ampl.Entities.IParameter.Indexarity¶
- Return type
System.Int32
int Indexarity { get; }
- ampl.Entities.IParameter.IndexingSets¶
- Return type
System.String<System.String>[]
string[] IndexingSets { get; }
- ampl.Entities.IParameter.IsScalar¶
- Return type
System.Boolean
bool IsScalar { get; }
- ampl.Entities.IParameter.IsSymbolic¶
- Return type
System.Boolean
bool IsSymbolic { get; }
- ampl.Entities.IParameter.Item¶
- Return type
Variant this[params object[] index] { get; set; }
- ampl.Entities.IParameter.Name¶
- Return type
System.String
string Name { get; }
- ampl.Entities.IParameter.NumInstances¶
- Return type
System.Int32
int NumInstances { get; }