Histogram<T>.Set Totals Method
Sets the total for each bin in a histogram.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
[ObsoleteAttribute("Use the CopyTo method of the values vector on the histogram instead.")]
public void SetTotals(
Vector<double> values
)
Parameters
Remarks
Use this method to directly set the totals of all bins in the histogram. The values in values are copied into the bin totals. To add to the current totals, use the AddTotals(Vector<Double>) method. To set all totals to zero, use the Clear() method.
Exceptions
Argument | values is null. |
Dimension | The length of values does not match the number of bins in the histogram. |