SummaryGetMean Method (Double, Double) |
Returns the mean of the given data set with associated weights.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double GetMean(
double[] x,
double[] weight
)
Public Shared Function GetMean (
x As Double(),
weight As Double()
) As Double
public:
static double GetMean(
array<double>^ x,
array<double>^ weight
)
static member GetMean :
x : float[] *
weight : float[] -> float
Parameters
- x
- Type: SystemDouble
A double array containing the data set whose mean is to be
found.
- weight
- Type: SystemDouble
A double array containing the weights associated with the data
points x.
Return Value
Type:
Double
A
double which specifies the mean of the given data set.
See Also