FILL_HISTOGRAM 

Call: FILL_HISTOGRAM


histogram

An histogram is referenced via a global variable that should be seen as the histogram itself.

Such variables are of Histogram. Usually, they are created by calling BOOK_HISTOGRAM to explicitly create a new histogram, or by calling GET_HISTOGRAM to retrieve an existing histogram from a file. They can also be the result of arithmetic between histograms.

This argument should not be an expression since this would result in adding entries to a temporary histogram.

[This is a mandatory argument]


entry

This argument should be either of type Number or of type Matrix. In the former case, a single entry is added. In the latter case, all elements of the Matrix are treated as entries.

If you supply a Matrix type argument, then ensure that the weight is either a Number or a Matrix of the same overall length as the entries. All Matrix shapes are permitted. The shapes of the entry and weight matrices do not have to be the same.

[This argument is mandatory.]


weight

This argument should be either of type Number or of type Matrix. In the former case, the same weight is applied to all entries. In the latter case, the elements of the Matrix are treated as individual weights for the entries.

If you supply a Matrix type argument, then ensure that the entry is either a Number or a Matrix of the same length as the weights. All Matrix shapes are permitted. Moreover, the shapes of the entries and the weights do not have to be the same,

[This argument is mandatory is optional and defaults to 1.]


Go to the top level, to Call, to FILL_HISTOGRAM, to the topic index, to the table of contents, or to the full text.

Formatted on 21/01/18 at 16:55.