Updates the test statistic with new sample data.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void Update( int[] data ) |
| Visual Basic (Declaration) |
|---|
Public Sub Update ( _ data As Integer() _ ) |
| Visual C++ |
|---|
public: void Update( array<int>^ data ) |
Parameters
- data
- Type: array<
System..::.Int32
>[]()[]
An array of observed values.
Remarks
The new sample mean and sample size are computed from the given array.
Population parameters are not changed.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if data has length of zero. |