Click or drag to resize

SphericalDescriptiveStatisticsMedianDirection Method (IListUnitCartesian, SphericalMedianCalculationMethod)

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.1.418.0 (24.1.418.0)
public static UnitSpherical MedianDirection(
	IList<UnitCartesian> dataList,
	SphericalMedianCalculationMethod calculationMethod


Type: System.Collections.GenericIListUnitCartesian
The list of data to use to calculate the median direction.
Type: AGI.FoundationSphericalMedianCalculationMethod
The function to minimize in order to calculate the spherical median. See SphericalMedianCalculationMethod for more information.

Return Value

Type: UnitSpherical
The median direction.
See Also