Histogram<T>.AddTotals Method

Note: This API is now obsolete.
Adds the specified values to the total for each bin in a histogram.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[ObsoleteAttribute("Use the AddInPlace method instead.")]
public void AddTotals(
	Vector<double> values
)

Parameters

values  Vector<Double>
A Double array containing the total increment for each bin.

Remarks

Use this method to directly add to the totals of all bins in the histogram. The values in values are added to the current bin totals. To replace the current bin totals, use the SetTotals(Vector<Double>) method.

Exceptions

DimensionMismatchExceptionThe length of values does not equal the number of bins in the histogram.
ArgumentNullExceptionvalues is null.

See Also