GridDescriptiveStatistics.AverageFigureOfMerit Method (IEnumerable<CoverageGridPointWithResults>, FigureOfMerit<Int32>) |
Computes the average of a given figure of merit over the grid (ignoring grid weighting).
Namespace:
AGI.Foundation.Coverage.FigureOfMerit
Assembly:
AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic static double AverageFigureOfMerit(
IEnumerable<CoverageGridPointWithResults> gridPoints,
FigureOfMerit<int> function
)
Public Shared Function AverageFigureOfMerit (
gridPoints As IEnumerable(Of CoverageGridPointWithResults),
function As FigureOfMerit(Of Integer)
) As Double
public:
static double AverageFigureOfMerit(
IEnumerable<CoverageGridPointWithResults^>^ gridPoints,
FigureOfMerit<int>^ function
)
static member AverageFigureOfMerit :
gridPoints : IEnumerable<CoverageGridPointWithResults> *
function : FigureOfMerit<int> -> float
Parameters
- gridPoints
- Type: System.Collections.Generic.IEnumerable<CoverageGridPointWithResults>
The coverage grid points. These points must contain results. - function
- Type: AGI.Foundation.Coverage.FigureOfMerit.FigureOfMerit<Int32>
The figure of merit to average.
Return Value
Type:
DoubleThe average of the given figure of merit.
See Also