ContentsIndexHome
PreviousUpNext
setValues Method

Sets the values for the complete domain of the data, by passing all the values as a dense array. 

 

If the data has more than one dimension, the values must be in row major order (the default order in Java, C++, C# as well as in AIMMS), i.e. the tuple (1,2) comes before the tuple (2,1). 

See also the Wikipedia page on row major ordering.

Sets the values for the complete domain of the data, by passing all the values as a dense array. Applies to string and (if the range is no subset of Integers) element valued data.

void setValues(params String[] values);

 

Sets the values for the complete domain of the data, by passing all the values as a dense array. Applies to double valued data only.

void setValues(params double[] values);

 

Sets the values for the complete domain of the data, by passing all the values as a dense array. Applies to integer, double and (if the range is a subset of Integers) element valued data.

void setValues(params int[] values);