- Procedure HistogramAddObservations(histogram\_id, values)
HistogramAddObservations
The procedure HistogramAddObservations
adds a set of observations to
a histogram that was previously created through the procedure
HistogramCreate
.
HistogramAddObservations(
histogram_id, ! (input) a scalar parameter
values ! (input) a one-dimensional parameter
)
Arguments
- histogram_id
A scalar value representing a histogram that was previously created using the
HistogramCreate
procedure.- values
A one-dimensional identifier that contains the values of new observations that should be added to the histogram. The cardinality should be at least 1.
Return Value
The procedure returns 1 if the new observation is added successfully, or 0 otherwise.
See also
The procedure HistogramAddObservation
, HistogramCreate
. Histogram support in AIMMS is
discussed in full detail in Creating Histograms of the Language Reference.