SphericalDescriptiveStatisticsMedianDirection Method (IListUnitCartesian, SphericalMedianCalculationMethod, MultivariableFunctionSolverResultsMultivariableFunctionSolverIterationResults) |
Calculates the median direction of the data by using a simplex heuristic optimizer.
The optimizer minimizes the normalized spatial median function or the embedded R^3 arc distance function to compute the median.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static UnitSpherical MedianDirection(
IList<UnitCartesian> dataList,
SphericalMedianCalculationMethod calculationMethod,
out MultivariableFunctionSolverResults<MultivariableFunctionSolverIterationResults> results
)
Public Shared Function MedianDirection (
dataList As IList(Of UnitCartesian),
calculationMethod As SphericalMedianCalculationMethod,
<OutAttribute> ByRef results As MultivariableFunctionSolverResults(Of MultivariableFunctionSolverIterationResults)
) As UnitSpherical
public:
static UnitSpherical MedianDirection(
IList<UnitCartesian>^ dataList,
SphericalMedianCalculationMethod calculationMethod,
[OutAttribute] MultivariableFunctionSolverResults<MultivariableFunctionSolverIterationResults^>^% results
)
static member MedianDirection :
dataList : IList<UnitCartesian> *
calculationMethod : SphericalMedianCalculationMethod *
results : MultivariableFunctionSolverResults<MultivariableFunctionSolverIterationResults> byref -> UnitSpherical
Parameters
- dataList
- Type: System.Collections.GenericIListUnitCartesian
The list of data to use to calculate the median direction. - calculationMethod
- Type: AGI.FoundationSphericalMedianCalculationMethod
The function to minimize in order to calculate the spherical median. See SphericalMedianCalculationMethod for more information. - results
- Type: AGI.Foundation.NumericalMethodsMultivariableFunctionSolverResultsMultivariableFunctionSolverIterationResults
The results of the optimizer. This data structure contains any warnings from the optimizer.
Return Value
Type:
UnitSphericalThe median direction.
See Also