Wolfram Research

Function Repository Resource:

SimplexMedian

Source Notebook

Get the simplex median of the elements of a matrix

Contributed by: Wolfram Research

ResourceFunction["SimplexMedian"][matrix]

gives a simplex median of the elements in matrix.

Details and Options

ResourceFunction["SimplexMedian"][matrix] gives a vector minimizing the sum of the volumes of the p-dimensional simplices formed by the elements of matrix and .

Examples

Basic Examples

Simplex median for bivariate data:

In[1]:=
ResourceFunction["SimplexMedian"][{{0, 1}, {2, 3}, {3, 4}}]
Out[1]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

See Also

License Information