# Maths.MeanKind enum

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum Maths.MeanKind
```

Enumerates the defined types of average.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Arithmetic | 0 | The arithmetic mean is defined as the sum of all values, divided by the size of the data set. |
| Geometric | 1 | The geometric mean is defined as taking the product of all values, rather than their sum. |
| Harmonic | 2 | The harmomic mean is defined as taking the reciprocals of all values, rather than their sum. |
| Lagrangian | 3 | The Arithmetic-Geometric mean, as first investigated by Lagrange. It is the limit of the iterated arithmetic and geometric means. |
| Entropy | 4 | Compute the Shannon-entropy of all values. This is strictly speaking not really a Mean. |
