Procedure HistogramAddObservations(histogram\_id, values)


The procedure HistogramAddObservations adds a set of observations to a histogram that was previously created through the procedure HistogramCreate.

     histogram_id,         ! (input) a scalar parameter
     values                ! (input) a one-dimensional parameter



A scalar value representing a histogram that was previously created using the HistogramCreate procedure.


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.