Enters data from a numerical vector into a histogram.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub Tabulate ( _ vector As Vector, _ weights As Vector _ ) |
| C# |
|---|
public void Tabulate ( Vector vector, Vector weights ) |
| C++ |
|---|
public: void Tabulate ( Vector^ vector, Vector^ weights ) |
Parameters
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- A Vector.containing the values.
- weights (Extreme.Mathematics.LinearAlgebra.Vector)
- A Vector containing the weights corresponding to the values in vector.
Remarks
Use this method to enter the data from a numerical vector into the histogram,
where the weight of each observation is specified by another vector.
The two variables must have the same number of observations.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr.
-or- weights is nullNothingnullptr. |
| DimensionMismatchException | The length of vector is not equal to the length of weights. |