Avg Method
Returns the average of all the arguments
Definition
Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)
C#
public static double Avg(params Object[] values)
VB
Public Shared Function Avg (ParamArray values As Object()) As Double
Parameters
- Object[]
- x1, x2, .., xN: Real numbers as an array
Return Value
Double
Average of all the real numbers specified as input arguments as a Double
Exceptions
| ArgumentNullException | |
| ArgumentException | |
| InvalidCastException |