Returns the mean of the elements of a numerical variable.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Mean ( _ data As NumericalVariable _ ) As Double |
| C# |
|---|
public static double Mean ( NumericalVariable data ) |
| C++ |
|---|
public: static double Mean ( NumericalVariable^ data ) |
Parameters
Return Value
The mean of the elements of data.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | data is nullNothingnullptr. |