arrMean method

num arrMean(
  1. List<num> numbers
)

There are several kinds of mean in mathematics, especially in statistics. In probability and statistics, the population mean, or expected value, is a measure of the central tendency either of a probability distribution or of the random variable characterized by that distribution

👉 Source

Example

print(Statistical().arrMean([0.1,9,0,8,12,-1]));
//output 4.683333333333334

Implementation

num arrMean(List<num> numbers) => this.arrSum(numbers) / numbers.length;