Adds the specified values to the total for each bin in a Histogram.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub AddTotals ( _ totals As Double() _ ) |
| C# |
|---|
public void AddTotals ( double[] totals ) |
| C++ |
|---|
public: void AddTotals ( array<double>^ totals ) |
Parameters
- totals ()
- 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 totals are added to the current bin totals. To replace the current bin totals,
use the SetTotals(Double[]()) method.
Exceptions
| Exception | Condition |
|---|---|
| DimensionMismatchException | The length of totals does not equal the number of bins in the histogram. |
| ArgumentNullException | totals is nullNothingnullptr. |